|
34 | 34 | <WarningLevel>4</WarningLevel> |
35 | 35 | <Prefer32Bit>false</Prefer32Bit> |
36 | 36 | <DocumentationFile>bin\Debug\Desharp.XML</DocumentationFile> |
| 37 | + <RegisterForComInterop>true</RegisterForComInterop> |
37 | 38 | </PropertyGroup> |
38 | 39 | <PropertyGroup> |
39 | 40 | <ApplicationIcon> |
|
45 | 46 | <PropertyGroup> |
46 | 47 | <AssemblyOriginatorKeyFile>Tom Flidr - .NET.pfx</AssemblyOriginatorKeyFile> |
47 | 48 | </PropertyGroup> |
| 49 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Dev|AnyCPU'"> |
| 50 | + <DebugSymbols>true</DebugSymbols> |
| 51 | + <OutputPath>bin\Dev\</OutputPath> |
| 52 | + <DefineConstants>TRACE;DEBUG</DefineConstants> |
| 53 | + <DocumentationFile>bin\Debug\Desharp.XML</DocumentationFile> |
| 54 | + <RegisterForComInterop>true</RegisterForComInterop> |
| 55 | + <DebugType>full</DebugType> |
| 56 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 57 | + <ErrorReport>prompt</ErrorReport> |
| 58 | + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 59 | + </PropertyGroup> |
48 | 60 | <ItemGroup> |
49 | 61 | <Reference Include="System" /> |
50 | 62 | <Reference Include="System.Configuration" /> |
|
127 | 139 | <SubType>Designer</SubType> |
128 | 140 | </None> |
129 | 141 | <None Include="content\Web.config.uninstall.xdt" /> |
130 | | - <None Include="Tom Flidr - .NET.pfx" /> |
131 | | - <None Include="_CreateNewNuGetPackage\DoNotModify\NuGet.exe" /> |
132 | 142 | <None Include="packages.config" /> |
133 | | - <None Include="_CreateNewNuGetPackage\Config.ps1" /> |
134 | | - <None Include="_CreateNewNuGetPackage\DoNotModify\CreateNuGetPackage.ps1" /> |
135 | | - <None Include="_CreateNewNuGetPackage\DoNotModify\New-NuGetPackage.ps1" /> |
136 | | - <None Include="_CreateNewNuGetPackage\DoNotModify\UploadNuGetPackage.ps1" /> |
137 | | - <None Include="_CreateNewNuGetPackage\RunMeToUploadNuGetPackage.cmd" /> |
| 143 | + <None Include="Tom Flidr - .NET.pfx" /> |
138 | 144 | </ItemGroup> |
139 | 145 | <ItemGroup> |
140 | 146 | <Folder Include="Assets\node_modules\desharp-assets\src\" /> |
141 | 147 | </ItemGroup> |
142 | 148 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
143 | 149 | <PropertyGroup> |
144 | | - <PreBuildEvent>@IF $(ConfigurationName) EQU Release ( |
| 150 | + <PreBuildEvent>@IF $(ConfigurationName) NEQ Dev ( |
145 | 151 | @IF EXIST $(ProjectDir)Assets\node_modules\desharp-assets ( |
146 | 152 | CD $(ProjectDir)Assets\node_modules\desharp-assets\dev-tools |
147 | | - build.cmd |
| 153 | + build.cmd |
148 | 154 | ) |
149 | 155 | )</PreBuildEvent> |
150 | 156 | </PropertyGroup> |
151 | 157 | <PropertyGroup> |
152 | | - <PostBuildEvent>@IF $(ConfigurationName) EQU Release ( |
| 158 | + <PostBuildEvent>@IF $(ConfigurationName) NEQ Dev ( |
153 | 159 | REM Create a NuGet package for this project and place the .nupkg file in the project's output directory. |
154 | 160 | REM If you see this in Visual Studio's Error List window, check the Output window's Build tab for the actual error. |
155 | 161 | ECHO Creating NuGet package in Post-Build event... |
156 | | - PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '$(ProjectDir)_CreateNewNuGetPackage\DoNotModify\CreateNuGetPackage.ps1' -ProjectFilePath '$(ProjectPath)' -OutputDirectory '$(TargetDir)' -BuildConfiguration '$(ConfigurationName)' -BuildPlatform '$(PlatformName)'" |
157 | | -)</PostBuildEvent> |
| 162 | + PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '$(ProjectDir)_CreateNewNuGetPackage\DoNotModify\CreateNuGetPackage.ps1' -ProjectFilePath '$(ProjectPath)' -NuSpecFilePath '$(ProjectDir)Desharp.nuspec' -OutputDirectory '$(TargetDir)' -BuildConfiguration '$(ConfigurationName)' -BuildPlatform '$(PlatformName)'" |
| 163 | +) |
| 164 | +</PostBuildEvent> |
158 | 165 | </PropertyGroup> |
159 | 166 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
160 | 167 | Other similar extension points exist, see Microsoft.Common.targets. |
|
0 commit comments