csproj import statement does not fully function
Posted: Tue Jan 23, 2018 5:32 pm
We would like to import the properties for a project into the csproj file.
For instance
<Import Project="MyProperties.props" />
And in this file something like
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="etcetera">
<PropertyGroup>
<MyCustomProperty>my value</MyCustomProperty>
</PropertyGroup>
</Project>
Whatever we try, Ranorex does not pick the value's up from the imported file.
We can use the csproj files with MSBuild however we would like to maintain the project files in Ranorex studio and use the value's defined in the .props file.
Hope you have a solution on this matter.
Kind regards,
Jasper de Keijzer
For instance
<Import Project="MyProperties.props" />
And in this file something like
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="etcetera">
<PropertyGroup>
<MyCustomProperty>my value</MyCustomProperty>
</PropertyGroup>
</Project>
Whatever we try, Ranorex does not pick the value's up from the imported file.
We can use the csproj files with MSBuild however we would like to maintain the project files in Ranorex studio and use the value's defined in the .props file.
Hope you have a solution on this matter.
Kind regards,
Jasper de Keijzer