mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-31 03:58:38 -05:00 
			
		
		
		
	build: dotnet: revert optional changes/deletions
This commit is contained in:
		| @@ -9,11 +9,32 @@ | ||||
|     <RootNamespace>Fsp</RootNamespace> | ||||
|     <AssemblyName>$(MyProductFileName)-msil</AssemblyName> | ||||
|     <FileAlignment>512</FileAlignment> | ||||
|     <OutputPath>$(SolutionDir)build\$(Configuration)\$(MSBuildProjectName)</OutputPath> | ||||
|     <IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath> | ||||
| 	<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||||
| 	<DocumentationFile>$(BaseIntermediateOutputPath)$(Configuration)\$(MyProductFileName)-msil.xml</DocumentationFile> | ||||
|     <GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||||
|     <NoWarn>1591</NoWarn> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||
|     <DebugSymbols>true</DebugSymbols> | ||||
|     <DebugType>full</DebugType> | ||||
|     <Optimize>false</Optimize> | ||||
|     <DefineConstants>DEBUG;TRACE</DefineConstants> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|     <DocumentationFile>$(BaseIntermediateOutputPath)$(Configuration)\$(MyProductFileName)-msil.xml</DocumentationFile> | ||||
|     <NoWarn>1591</NoWarn> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||||
|     <DebugType>pdbonly</DebugType> | ||||
|     <Optimize>true</Optimize> | ||||
|     <DefineConstants>TRACE</DefineConstants> | ||||
|     <ErrorReport>prompt</ErrorReport> | ||||
|     <WarningLevel>4</WarningLevel> | ||||
|     <DocumentationFile>$(BaseIntermediateOutputPath)$(Configuration)\$(MyProductFileName)-msil.xml</DocumentationFile> | ||||
|     <NoWarn>1591</NoWarn> | ||||
|   </PropertyGroup> | ||||
|   <PropertyGroup> | ||||
|     <SignAssembly>true</SignAssembly> | ||||
|   </PropertyGroup> | ||||
| @@ -65,18 +86,18 @@ | ||||
|   <PropertyGroup> | ||||
|     <PostBuildEvent>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 | ||||
|     </PostBuildEvent> | ||||
| "$(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 | ||||
| </PostBuildEvent> | ||||
|   </PropertyGroup> | ||||
| </Project> | ||||
		Reference in New Issue
	
	Block a user