diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-05-30 04:17:33 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-05-31 17:38:16 +0200 |
| commit | c25fe7d0d11b8b70d7675b294b83b5ec14528254 (patch) | |
| tree | d61745f68b8ad35cf822c6ed63ca5e8c82d02f2f | |
| parent | 1ac28a8505a42d5deeaacc1dfb1f7fd6fa96bb05 (diff) | |
save commit
| -rw-r--r-- | Directory.Build.props | 1 | ||||
| -rw-r--r-- | VK/vulkan.csproj | 8 | ||||
| -rw-r--r-- | vk.generator/vk.generator.csproj | 4 | ||||
| -rw-r--r-- | vk.rewrite/vk.rewrite.csproj | 4 |
4 files changed, 9 insertions, 8 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index 0a11101..d6e4484 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -13,6 +13,7 @@ <OutputPath>$(SolutionDir)build\$(Configuration)\</OutputPath> <LangVersion>7.2</LangVersion> + <ToolsFramework>net472</ToolsFramework> </PropertyGroup> </Project> diff --git a/VK/vulkan.csproj b/VK/vulkan.csproj index f7d0e83..a91a825 100644 --- a/VK/vulkan.csproj +++ b/VK/vulkan.csproj @@ -43,10 +43,10 @@ <Target Name="generate" BeforeTargets="BeforeCompile"> <MakeDir Directories="$(SolutionDir)build/generated" /> - <Exec Condition="$(OS) == 'Windows_NT'" Command="$(SolutionDir)build/$(Configuration)/net471/vk.generator.exe" WorkingDirectory="$(SolutionDir)build/generated"> + <Exec Condition="$(OS) == 'Windows_NT'" Command="$(SolutionDir)build/$(Configuration)/$(ToolsFramework)/vk.generator.exe" WorkingDirectory="$(SolutionDir)build/generated"> <Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" /> </Exec> - <Exec Condition="$(OS) != 'Windows_NT'" Command="mono $(SolutionDir)build/$(Configuration)/net471/vk.generator.exe" WorkingDirectory="$(SolutionDir)build/generated"> + <Exec Condition="$(OS) != 'Windows_NT'" Command="mono $(SolutionDir)build/$(Configuration)/$(ToolsFramework)/vk.generator.exe" WorkingDirectory="$(SolutionDir)build/generated"> <Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" /> </Exec> <CreateItem Include="$(SolutionDir)build/generated/*.cs"> @@ -55,10 +55,10 @@ </Target> <Target Name="rewrite" AfterTargets="CoreBuild"> - <Exec Condition="$(OS) == 'Windows_NT'" Command="$(SolutionDir)build/$(Configuration)/net471/vk.rewrite.exe $(TargetPath)" ConsoleToMSBuild="true" EchoOff="true"> + <Exec Condition="$(OS) == 'Windows_NT'" Command="$(SolutionDir)build/$(Configuration)/$(ToolsFramework)/vk.rewrite.exe $(TargetPath)" ConsoleToMSBuild="true" EchoOff="true"> <Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" /> </Exec> - <Exec Condition="$(OS) != 'Windows_NT'" Command="mono $(SolutionDir)build/$(Configuration)/net471/vk.rewrite.exe $(TargetPath)" ConsoleToMSBuild="true" EchoOff="true"> + <Exec Condition="$(OS) != 'Windows_NT'" Command="mono $(SolutionDir)build/$(Configuration)/$(ToolsFramework)/vk.rewrite.exe $(TargetPath)" ConsoleToMSBuild="true" EchoOff="true"> <Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" /> </Exec> </Target> diff --git a/vk.generator/vk.generator.csproj b/vk.generator/vk.generator.csproj index 73f8f44..85c38d8 100644 --- a/vk.generator/vk.generator.csproj +++ b/vk.generator/vk.generator.csproj @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <TargetFrameworks>net471</TargetFrameworks> + <TargetFrameworks>$(ToolsFramework)</TargetFrameworks> <OutputType>Exe</OutputType> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> </PropertyGroup> @@ -10,4 +10,4 @@ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> </ItemGroup> -</Project>
\ No newline at end of file +</Project> diff --git a/vk.rewrite/vk.rewrite.csproj b/vk.rewrite/vk.rewrite.csproj index 9e7e586..2246148 100644 --- a/vk.rewrite/vk.rewrite.csproj +++ b/vk.rewrite/vk.rewrite.csproj @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <TargetFrameworks>net471</TargetFrameworks> + <TargetFrameworks>$(ToolsFramework)</TargetFrameworks> <OutputType>Exe</OutputType> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> </PropertyGroup> @@ -9,4 +9,4 @@ <PackageReference Include="Mono.Cecil" Version="0.11.2" /> </ItemGroup> -</Project>
\ No newline at end of file +</Project> |