|
2 | 2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0"> |
3 | 3 | <PropertyGroup> |
4 | 4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
5 | | - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 5 | + <Platform Condition=" '$(Platform)' == '' ">x86</Platform> |
6 | 6 | <ProductVersion>9.0.21022</ProductVersion> |
7 | 7 | <SchemaVersion>2.0</SchemaVersion> |
8 | | - <ProjectGuid>{EB8FC3A3-93E8-457B-B281-FAFA5119611A}</ProjectGuid> |
| 8 | + <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
9 | 9 | <OutputType>Library</OutputType> |
10 | 10 | <AppDesignerFolder>Properties</AppDesignerFolder> |
11 | 11 | <RootNamespace>NppPluginNET</RootNamespace> |
12 | 12 | <AssemblyName>Demo</AssemblyName> |
13 | | - <StartupObject> |
14 | | - </StartupObject> |
15 | | - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
16 | | - <FileUpgradeFlags> |
17 | | - </FileUpgradeFlags> |
| 13 | + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
18 | 14 | <OldToolsVersion>3.5</OldToolsVersion> |
19 | | - <UpgradeBackupLocation /> |
20 | | - <TargetFrameworkProfile /> |
21 | 15 | </PropertyGroup> |
22 | | - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| 16 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> |
23 | 17 | <DebugSymbols>true</DebugSymbols> |
24 | | - <DebugType>full</DebugType> |
25 | | - <Optimize>false</Optimize> |
| 18 | + <DebugType>full</DebugType> |
| 19 | + <Optimize>false</Optimize> |
26 | 20 | <OutputPath>bin\Debug</OutputPath> |
27 | 21 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
28 | 22 | <ErrorReport>prompt</ErrorReport> |
29 | 23 | <WarningLevel>4</WarningLevel> |
30 | 24 | <PlatformTarget>x86</PlatformTarget> |
31 | | - <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
32 | | - <Prefer32Bit>false</Prefer32Bit> |
33 | 25 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
34 | 26 | </PropertyGroup> |
35 | | - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 27 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> |
36 | 28 | <DebugType>none</DebugType> |
37 | 29 | <Optimize>true</Optimize> |
38 | 30 | <OutputPath>bin\Release</OutputPath> |
39 | | - <DefineConstants> |
40 | | - </DefineConstants> |
41 | 31 | <ErrorReport>prompt</ErrorReport> |
42 | 32 | <WarningLevel>4</WarningLevel> |
43 | 33 | <FileAlignment>512</FileAlignment> |
44 | 34 | <PlatformTarget>x86</PlatformTarget> |
45 | 35 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
46 | | - <Prefer32Bit>false</Prefer32Bit> |
| 36 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 37 | + </PropertyGroup> |
| 38 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> |
| 39 | + <DebugSymbols>true</DebugSymbols> |
| 40 | + <DebugType>full</DebugType> |
| 41 | + <Optimize>false</Optimize> |
| 42 | + <OutputPath>bin\Debug-x64</OutputPath> |
| 43 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 44 | + <ErrorReport>prompt</ErrorReport> |
| 45 | + <WarningLevel>4</WarningLevel> |
| 46 | + <PlatformTarget>x64</PlatformTarget> |
| 47 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 48 | + </PropertyGroup> |
| 49 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> |
| 50 | + <DebugType>none</DebugType> |
| 51 | + <Optimize>true</Optimize> |
| 52 | + <OutputPath>bin\Release-x64</OutputPath> |
| 53 | + <ErrorReport>prompt</ErrorReport> |
| 54 | + <WarningLevel>4</WarningLevel> |
| 55 | + <FileAlignment>512</FileAlignment> |
| 56 | + <PlatformTarget>x64</PlatformTarget> |
| 57 | + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
| 58 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 59 | + </PropertyGroup> |
| 60 | + <PropertyGroup> |
| 61 | + <!-- Default values for debugging so it start correct version of Notepad++ |
| 62 | + $(ProgramW6432) and $(MSBuildProgramFiles32) points to the 64 and 32 bit "Program Files" directories --> |
| 63 | + <StartAction>Program</StartAction> |
| 64 | + <StartProgram Condition="'$(Platform)'=='x64'">$(ProgramW6432)\Notepad++\notepad++.exe</StartProgram> |
| 65 | + <StartProgram Condition="'$(Platform)'=='x86'">$(MSBuildProgramFiles32)\Notepad++\notepad++.exe</StartProgram> |
47 | 66 | </PropertyGroup> |
48 | 67 | <ItemGroup> |
49 | 68 | <Compile Include="..\..\Visual Studio Project Template C#\PluginInfrastructure\DllExport\DllExportAttribute.cs"> |
|
0 commit comments