Skip to content

Commit

Permalink
[Touch.Client] Adjust project configurations. (#83)
Browse files Browse the repository at this point in the history
Make sure any possible project configuration (not only Debug and Release) has
an OutputPath set and the NUNITLITE_NUGET variable set.

Both are needed to build the projects, and we use custom configurations when
building some of our test projects (such as Debug[32|64] for instance).
  • Loading branch information
rolfbjarne committed Aug 3, 2020
1 parent 545400b commit f620668
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 25 deletions.
9 changes: 4 additions & 5 deletions Touch.Client/iOS/Touch.Client-iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Touch.Client</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<OutputPath>bin\$(Configuration)</OutputPath>
<DefineConstants>NUNITLITE_NUGET;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;NUNITLITE_NUGET</DefineConstants>
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release</OutputPath>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>NUNITLITE_NUGET</DefineConstants>
<DefineConstants>$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchVerbosity></MtouchVerbosity>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
9 changes: 4 additions & 5 deletions Touch.Client/macOS/full/Touch.Client-macOS-full.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<UseXamMacFullFramework>true</UseXamMacFullFramework>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<OutputPath>bin\$(Configuration)</OutputPath>
<DefineConstants>NUNITLITE_NUGET;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;NUNITLITE_NUGET</DefineConstants>
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release</OutputPath>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>NUNITLITE_NUGET</DefineConstants>
<DefineConstants>$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchVerbosity></MtouchVerbosity>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
9 changes: 4 additions & 5 deletions Touch.Client/macOS/mobile/Touch.Client-macOS-mobile.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<OutputPath>bin\$(Configuration)</OutputPath>
<DefineConstants>NUNITLITE_NUGET;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;NUNITLITE_NUGET</DefineConstants>
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release</OutputPath>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>NUNITLITE_NUGET</DefineConstants>
<DefineConstants>$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchVerbosity></MtouchVerbosity>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
9 changes: 4 additions & 5 deletions Touch.Client/tvOS/Touch.Client-tvOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Touch.Client</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<OutputPath>bin\$(Configuration)</OutputPath>
<DefineConstants>NUNITLITE_NUGET;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;NUNITLITE_NUGET</DefineConstants>
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release</OutputPath>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>NUNITLITE_NUGET</DefineConstants>
<DefineConstants>$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchVerbosity></MtouchVerbosity>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
9 changes: 4 additions & 5 deletions Touch.Client/watchOS/Touch.Client-watchOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,23 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Touch.Client</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<OutputPath>bin\$(Configuration)</OutputPath>
<DefineConstants>NUNITLITE_NUGET;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;NUNITLITE_NUGET</DefineConstants>
<DefineConstants>DEBUG;$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release</OutputPath>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>NUNITLITE_NUGET</DefineConstants>
<DefineConstants>$(DefineConstants)</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<MtouchVerbosity></MtouchVerbosity>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down

0 comments on commit f620668

Please sign in to comment.