diff --git a/build/VStudio/dotnet/Directory.Build.props b/build/VStudio/dotnet/Directory.Build.props new file mode 100644 index 00000000..dc3d2356 --- /dev/null +++ b/build/VStudio/dotnet/Directory.Build.props @@ -0,0 +1,7 @@ + + + $(SolutionDir)build\$(Configuration)\$(MSBuildProjectName) + $(SolutionDir)build\$(MSBuildProjectName).build\ + $(BaseIntermediateOutputPath)$(Configuration)\ + + \ No newline at end of file diff --git a/build/VStudio/dotnet/winfsp.net.csproj b/build/VStudio/dotnet/winfsp.net.csproj index 52b5eebf..284e0bf6 100644 --- a/build/VStudio/dotnet/winfsp.net.csproj +++ b/build/VStudio/dotnet/winfsp.net.csproj @@ -1,43 +1,31 @@ - - + - - Debug - AnyCPU - {94580219-CC8D-4FE5-A3BE-437B0B3481E1} - Library + netstandard2.0;net35 winfsp.net + disable + disable + true Fsp $(MyProductFileName)-msil - v3.5 512 - true full false - $(SolutionDir)build\$(Configuration)\ - $(SolutionDir)build\$(ProjectName).build\ - $(BaseIntermediateOutputPath)$(Configuration)\ DEBUG;TRACE prompt 4 - true $(BaseIntermediateOutputPath)$(Configuration)\$(MyProductFileName)-msil.xml 1591 pdbonly true - $(SolutionDir)build\$(Configuration)\ - $(SolutionDir)build\$(ProjectName).build\ - $(BaseIntermediateOutputPath)$(Configuration)\ TRACE prompt 4 - true $(BaseIntermediateOutputPath)$(Configuration)\$(MyProductFileName)-msil.xml 1591 @@ -47,9 +35,6 @@ winfsp.net.snk - - - FileSystemBase+Const.cs @@ -70,44 +55,39 @@ - - - - - - - - - - - - - - - - - - - + + + 5.0.0 + + + 5.0.0 + + + + + $(MyProductFileName)-msil + $(MyDescription) + $(MyProductName) + $(MyCopyright) + $(MyAssemblyVersion) + $(MyVersion) + + exit /b 0 -set TargetName=$(TargetName) -set MyAssemblyPolicyVersion=$(MyAssemblyPolicyVersion) -set MyAssemblyVersion=$(MyAssemblyVersion) + set TargetName=$(TargetName) + set MyAssemblyPolicyVersion=$(MyAssemblyPolicyVersion) + set MyAssemblyVersion=$(MyAssemblyVersion) -setlocal EnableDelayedExpansion -if exist $(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config del $(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config -for /f "delims=" %25%25l in ($(ProjectDir)winfsp.net.policy.config) do ( - set line=%25%25l - echo !line! >>$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config -) + setlocal EnableDelayedExpansion + if exist $(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config del $(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config + for /f "delims=" %25%25l in ($(ProjectDir)winfsp.net.policy.config) do ( + set line=%25%25l + echo !line! >>$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config + ) -"$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.0A\Bin\al.exe" /product:"$(MyProductName)" /title:"$(MyDescription)" /company:"$(MyCompanyName)" /copyright:"$(MyCopyright)" /version:"$(MyAssemblyPolicyVersion)" /fileversion:"$(MyVersion)" /link:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config /out:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).dll /keyfile:$(ProjectDir)$(ProjectName).snk - + "$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.0A\Bin\al.exe" /product:"$(MyProductName)" /title:"$(MyDescription)" /company:"$(MyCompanyName)" /copyright:"$(MyCopyright)" /version:"$(MyAssemblyPolicyVersion)" /fileversion:"$(MyVersion)" /link:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config /out:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).dll /keyfile:$(ProjectDir)$(ProjectName).snk + \ No newline at end of file