Fixing build errors and nuget package warnings

This commit is contained in:
Kamil Szostak 2016-04-29 11:00:08 -07:00
Родитель 25767badb2
Коммит a5f8e002ff
3 изменённых файлов: 8 добавлений и 9 удалений

Просмотреть файл

@ -255,13 +255,13 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild">
<Message Text="Compiling TypeScript files" />
<Exec Command="tsc --module CommonJS @(SeleniumCheckinTests ->'&quot;%(fullpath)&quot;', ' ') --out Selenium\checkinTests.js" />
<Exec Command="tsc --module CommonJS @(SeleniumPerformance ->'&quot;%(fullpath)&quot;', ' ') --out Selenium\performanceTests.js" />
<Exec Command="tsc --module CommonJS @(AutoCollectionTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\autoCollection.tests.js" />
<Exec Command="tsc --module CommonJS @(PublicApiTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\PublicApiTests.js" />
<Exec Command="tsc --module CommonJS @(SanitizerE2ETests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\SanitizerE2E.tests.js" />
<Exec Command="tsc --module CommonJS @(SnippetTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\snippet.tests.js" />
<Exec Command="tsc --module CommonJS @(DisableTelemetryTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\DisableTelemetryTests.js" />
<Exec Command="tsc --module amd @(SeleniumCheckinTests ->'&quot;%(fullpath)&quot;', ' ') --out Selenium\checkinTests.js" />
<Exec Command="tsc --module amd @(SeleniumPerformance ->'&quot;%(fullpath)&quot;', ' ') --out Selenium\performanceTests.js" />
<Exec Command="tsc --module amd @(AutoCollectionTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\autoCollection.tests.js" />
<Exec Command="tsc --module amd @(PublicApiTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\PublicApiTests.js" />
<Exec Command="tsc --module amd @(SanitizerE2ETests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\SanitizerE2E.tests.js" />
<Exec Command="tsc --module amd @(SnippetTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\snippet.tests.js" />
<Exec Command="tsc --module amd @(DisableTelemetryTests ->'&quot;%(fullpath)&quot;', ' ') --out E2ETests\DisableTelemetryTests.js" />
<Exec Command="Powershell.exe -ExecutionPolicy ByPass -File &quot;$(ProjectDir)E2ETests\PostBuild.ps1&quot; -projectDir $(ProjectDir)" />
</Target>
<PropertyGroup>

Просмотреть файл

@ -11,6 +11,7 @@
<projectUrl>http://go.microsoft.com/fwlink/?LinkID=510710</projectUrl>
<iconUrl>$image$</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<summary>Application Insights API for JavaScript Applications</summary>
<description>Application Insights API enables you to get insights into user behavior and monitor usage patterns for your JavaScript applications. Application Insights service collects the data, analyzes it and presents the results in the forms of graphs and reports in Application Insights portal in Microsoft Azure.</description>
<tags>Analytics Insights Telemetry JavaScript MDD Multi-Device ApplicationInsights Cordova Web</tags>
<copyright>Copyright © 2013-2022, Microsoft. All rights reserved.</copyright>

Просмотреть файл

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project=".\NuGet.Targets" />
<!-- This target runs after all referenced projects have been built, but before the *.FileListAbsolute.txt file gets saved to support incremental build. -->
<Target Name="PrepareForNugetPackaging" AfterTargets="ResolveProjectReferences">
<Error Condition="!Exists('$(PackageSpecFile)')" Text="PackageSpecFile must be a valid path to a .nuspec file that defines NuGet package structure."/>