Edit C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.targets
<!-- *********************************************************************************************** Microsoft.VisualBasic.targets WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have created a backup copy. Incorrect changes to this file will make it impossible to load or build your projects from the command-line or the IDE. This file defines the steps in the standard build process specific for VB .NET projects. For example, it contains the step that actually calls the VB compiler. The remainder of the build process is defined in Microsoft.Common.targets, which is imported by this file. Copyright (C) Microsoft Corporation. All rights reserved. *********************************************************************************************** --> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <UsingTask TaskName="CreateVisualBasicManifestResourceName" AssemblyName="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> <PropertyGroup> <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildBinPath)\Microsoft.VisualBasic.targets</MSBuildAllProjects> <DefaultLanguageSourceExtension>.vb</DefaultLanguageSourceExtension> <Language>VB</Language> </PropertyGroup> <!-- The CreateManifestResourceNames target create the manifest resource names from the .RESX files. [IN] @(ResxWithNoCulture) - The names the non-culture .RESX files. @(ResxWithCulture) - The names the culture .RESX files. @(NonResxWithNoCulture) - The names of the non-culture non-RESX files (like bitmaps, etc). @(NonResxWithCulture) - The names of the culture non-RESX files (like bitmaps, etc). [OUT] @(ManifestResourceWithNoCultureName) - The corresponding manifest resource name (.RESOURCE) @(ManifestResourceWithCultureName) - The corresponding manifest resource name (.RESOURCE) @(ManifestNonResxWithNoCulture) - The corresponding manifest resource name. @(ManifestNonResxWithCulture) - The corresponding manifest resource name. For VB applications the transformation is like: Resources1.resx => RootNamespace.Resources1 => Build into main assembly SubFolder\Resources1.resx => RootNamespace.Resources1 => Build into main assembly Resources1.fr.resx => RootNamespace.Resources1.fr => Build into satellite assembly Resources1.notaculture.resx => RootNamespace.Resources1.notaculture => Build into main assembly For other project systems, this transformation may be different. --> <PropertyGroup> <CreateManifestResourceNamesDependsOn></CreateManifestResourceNamesDependsOn> </PropertyGroup> <Target Name="CreateManifestResourceNames" Condition="'@(ResxWithNoCulture)@(ResxWithCulture)@(NonResxWithNoCulture)@(NonResxWithCulture)'!=''" DependsOnTargets="$(CreateManifestResourceNamesDependsOn)" > <!-- Create the target resource names for non-culture resx files. --> <CreateVisualBasicManifestResourceName Condition="'@(ResxWithNoCulture)'!=''" ResourceFiles="@(ResxWithNoCulture)" RootNamespace="$(RootNamespace)"> <Output TaskParameter="ManifestResourceNames" ItemName="ManifestResourceWithNoCultureName"/> </CreateVisualBasicManifestResourceName> <!-- Create the target resource names for culture resx files. --> <CreateVisualBasicManifestResourceName Condition="'@(ResxWithCulture)'!=''" ResourceFiles="@(ResxWithCulture)" RootNamespace="$(RootNamespace)"> <Output TaskParameter="ManifestResourceNames" ItemName="ManifestResourceWithCultureName"/> </CreateVisualBasicManifestResourceName> <!-- Create the target resource names for non-culture non-resx files. --> <CreateVisualBasicManifestResourceName Condition="'@(NonResxWithNoCulture)'!=''" ResourceFiles="@(NonResxWithNoCulture)" RootNamespace="$(RootNamespace)"> <Output TaskParameter="ManifestResourceNames" ItemName="ManifestNonResxWithNoCulture"/> </CreateVisualBasicManifestResourceName> <!-- Create the target resource names for culture non-resx files. --> <CreateVisualBasicManifestResourceName Condition="'@(NonResxWithCulture)'!=''" ResourceFiles="@(NonResxWithCulture)" RootNamespace="$(RootNamespace)"> <Output TaskParameter="ManifestResourceNames" ItemName="ManifestNonResxWithCulture"/> </CreateVisualBasicManifestResourceName> </Target> <PropertyGroup> <FinalDefineConstants>CONFIG="$(Configuration)"</FinalDefineConstants> <FinalDefineConstants Condition=" '$(DefineDebug)' == 'true' ">$(FinalDefineConstants),DEBUG=-1</FinalDefineConstants> <FinalDefineConstants Condition=" '$(DefineTrace)' == 'true' ">$(FinalDefineConstants),TRACE=-1</FinalDefineConstants> <FinalDefineConstants Condition=" '$(MyType)' != '' ">$(FinalDefineConstants),_MyType="$(MyType)"</FinalDefineConstants> <FinalDefineConstants Condition=" '$(Platform)' != '' ">$(FinalDefineConstants),PLATFORM="$(Platform)"</FinalDefineConstants> <FinalDefineConstants Condition=" '$(Platform)' == '' ">$(FinalDefineConstants),PLATFORM="AnyCPU"</FinalDefineConstants> <FinalDefineConstants Condition=" '$(DefineConstants)' != '' ">$(FinalDefineConstants),$(DefineConstants)</FinalDefineConstants> <_NoWarnings Condition=" '$(WarningLevel)' == '0' ">true</_NoWarnings> <_NoWarnings Condition=" '$(WarningLevel)' == '1' ">false</_NoWarnings> <!-- If DebugSymbols is explicitly false, we definitely don't want symbols, so clear DebugType too--> <DebugType Condition=" '$(DebugSymbols)' == 'false' "></DebugType> <!-- "None" is not technically a valid DebugType, so we can't pass it in as such to the compiler. So here, we modify the properties so they make sense. --> <DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols> <DebugType Condition=" '$(DebugType)' == 'none' "></DebugType> <!-- Provide a facility to override UseHostCompilerIfAvailable--> <UseHostCompilerIfAvailable Condition=" '$(UseHostCompilerIfAvailable)' == ''">true</UseHostCompilerIfAvailable> </PropertyGroup> <ItemGroup> <DocFileItem Include="$(IntermediateOutputPath)$(DocumentationFile)" Condition="'$(DocumentationFile)'!=''"/> </ItemGroup> <PropertyGroup> <CoreCompileDependsOn>_ComputeNonExistentFileProperty</CoreCompileDependsOn> </PropertyGroup> <Target Name="CoreCompile" Inputs="$(MSBuildAllProjects); @(Compile); @(ManifestResourceWithNoCulture); $(ApplicationIcon); $(AssemblyOriginatorKeyFile); @(ManifestNonResxWithNoCultureOnDisk); @(ReferencePath); @(CompiledLicenseFile); @(EmbeddedDocumentation); @(CustomAdditionalCompileInputs)" Outputs="@(DocFileItem); @(IntermediateAssembly); $(NonExistentFile); @(CustomAdditionalCompileOutputs)" DependsOnTargets="$(CoreCompileDependsOn)" > <Vbc AdditionalLibPaths="$(AdditionalLibPaths)" AddModules="@(AddModules)" BaseAddress="$(BaseAddress)" CodePage="$(CodePage)" DebugType="$(DebugType)" DefineConstants="$(FinalDefineConstants)" DelaySign="$(DelaySign)" DisabledWarnings="$(NoWarn)" DocumentationFile="@(DocFileItem)" EmitDebugInformation="$(DebugSymbols)" ErrorReport="$(ErrorReport)" FileAlignment="$(FileAlignment)" GenerateDocumentation="$(GenerateDocumentation)" Imports="@(Import)" KeyContainer="$(KeyContainerName)" KeyFile="$(KeyOriginatorFile)" MainEntryPoint="$(StartupObject)" NoConfig="true" NoStandardLib="$(NoStdLib)" NoWarnings="$(_NoWarnings)" Optimize="$(Optimize)" OptionCompare="$(OptionCompare)" OptionExplicit="$(OptionExplicit)" OptionStrict="$(OptionStrict)" OptionStrictType="$(OptionStrictType)" OutputAssembly="@(IntermediateAssembly)" Platform="$(PlatformTarget)" References="@(ReferencePath)" RemoveIntegerChecks="$(RemoveIntegerChecks)" Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)" ResponseFiles="$(CompilerResponseFile)" RootNamespace="$(RootNamespace)" SdkPath="$(FrameworkPathOverride)" Sources="@(Compile)" TargetCompactFramework="$(TargetCompactFramework)" TargetType="$(OutputType)" ToolPath="$(VbcToolPath)" TreatWarningsAsErrors="$(TreatWarningsAsErrors)" UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)" Utf8Output="$(Utf8Output)" Verbosity="$(VbcVerbosity)" WarningsAsErrors="$(WarningsAsErrors)" WarningsNotAsErrors="$(WarningsNotAsErrors)" Win32Icon="$(ApplicationIcon)" Win32Resource="$(Win32Resource)" /> </Target> <Import Project="Microsoft.Common.targets" /> </Project>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de