forked from microsoft/PTVS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python Tools for Visual Studio - initial commit
- Loading branch information
Dino Viehland
committed
Mar 9, 2011
0 parents
commit 00d974b
Showing
1,343 changed files
with
294,908 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// <copyright> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
|
||
#include "stdafx.h" | ||
|
||
using namespace System; | ||
using namespace System::Reflection; | ||
using namespace System::Runtime::CompilerServices; | ||
using namespace System::Runtime::InteropServices; | ||
using namespace System::Security::Permissions; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
|
||
[assembly:AssemblyCompanyAttribute("Microsoft")]; | ||
[assembly:AssemblyProductAttribute("WCS")]; | ||
[assembly:AssemblyCopyrightAttribute("Copyright © Microsoft 2010")]; | ||
[assembly:AssemblyTrademarkAttribute("")]; | ||
[assembly:AssemblyCultureAttribute("")]; | ||
|
||
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// <copyright> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
|
||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// The following assembly information is common to all Technical Computing Workbench | ||
// assemblies. | ||
// If you get compiler errors CS0579, "Duplicate '<attributename>' attribute", check your | ||
// Properties\AssemblyInfo.cs file and remove any lines duplicating the ones below. | ||
// (See also AssemblyVersion.cs in this same directory.) | ||
[assembly: AssemblyCompany("Microsoft")] | ||
[assembly: AssemblyProduct("WCS")] | ||
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include "stdafx.h" | ||
|
||
using namespace System; | ||
using namespace System::Reflection; | ||
using namespace System::Runtime::CompilerServices; | ||
|
||
// | ||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
// | ||
// | ||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the value or you can default the Revision and Build Numbers | ||
// by using the '*' as shown below | ||
|
||
[assembly:AssemblyVersionAttribute("1.0.4057.000")]; | ||
[assembly:AssemblyFileVersionAttribute("1.0.4057.000")]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// <copyright> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
|
||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// The following assembly information is common to all Technical Computing Workbench | ||
// assemblies. | ||
// If you get compiler errors CS0579, "Duplicate '<attributename>' attribute", check your | ||
// Properties\AssemblyInfo.cs file and remove any lines duplicating the ones below. | ||
// (See also AssemblyInfoCommon.cs in this same directory.) | ||
[assembly: AssemblyVersion("0.7.4100.000")] | ||
[assembly: AssemblyFileVersion("0.7.4100.000")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<!--<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.File.DeleteFiles"/> | ||
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.File.GetFiles"/> | ||
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.File.RegEx"/>--> | ||
<UsingTask AssemblyFile="$(TasksPath)BuildTasks.dll" TaskName="Microsoft.Sdc.Tasks.File.Replace"/> | ||
|
||
<!--<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.CreateSourceFiles"/> | ||
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.Load"/> | ||
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.LoadFileVersion"/> | ||
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.Parse"/> | ||
<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.SplitBuildNumber"/>--> | ||
<UsingTask AssemblyFile="$(TasksPath)BuildTasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.Update"/> | ||
<!--<UsingTask AssemblyFile="$(TasksPath)Microsoft.Sdc.Tasks.dll" TaskName="Microsoft.Sdc.Tasks.VersionNumber.VSSUpdate"/>--> | ||
|
||
</Project> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets=""> | ||
|
||
<Target Name="MessagesCC"> | ||
<Message Text="Code Coverage Build"></Message> | ||
<Message Text="%24(TemplateFile) = %22$(TemplateFile)%22"></Message> | ||
<Message Text="%24(OutputFile) = %22$(OutputFile)%22"></Message> | ||
</Target> | ||
|
||
<PropertyGroup> | ||
<BuildRoot Condition="'$(BuildRoot)'==''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dirs.proj))</BuildRoot> | ||
<GenCCItemsCommand>"$(BuildRoot)\Tools\bin\GenCodeCoverageItems.exe"</GenCCItemsCommand> | ||
<TemplateFile>"$(BuildRoot)\Build\CodeCoverage\codecoverage.testsettings"</TemplateFile> | ||
<OutputFile>"$(BuildRoot)\Build\CodeCoverage\outputcodecoverage.testsettings"</OutputFile> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<!--Team build uses this--> | ||
<OutPath Condition="'$(OutDir)' != ''">$(OutDir)\</OutPath> | ||
<!--Local build uses this--> | ||
<OutPath Condition="'$(OutDir)' == ''">$(OutputPath)</OutPath> | ||
</PropertyGroup> | ||
|
||
<Target Name="CodeCoverage"> | ||
<CallTarget Targets="MessagesCC" /> | ||
<!--Something needs to be done here for purging output directories before local builds.--> | ||
<MSBuild Projects="@(ProjectFile)" Targets="Build"/> | ||
<MSBuild Projects="@(SequencedProjectFile)" Targets="Build"/> | ||
<CallTarget Targets="GenCodeCoverageSettings" /> | ||
</Target> | ||
|
||
<Target Name="GenCodeCoverageSettings"> | ||
<Message Text="%24(OutPath) = %22$(OutPath)%22"></Message> | ||
<Message Text="%24(OutDir) = %22$(OutDir)%22"></Message> | ||
<Message Text="%24(OutputPath) = %22$(OutputPath)%22"></Message> | ||
<Message Text="%24(UserHomePath) = %22$(UserHomePath)%22"></Message> | ||
|
||
<Exec Command="$(GenCCItemsCommand) /t:$(TemplateFile) /o:$(OutputFile) /p:"$(MSBuildProjectFullPath)" /v /a:"$(OutPath)" " | ||
ContinueOnError="false"/> | ||
</Target> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<TestSettings name="wcs codecoverage" id="d0bbcea6-c10e-4189-b125-8b5630a1f510" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> | ||
<Description>These are code coverage test settings for a local test run</Description> | ||
<Execution> | ||
<Timeouts runTimeout="3600000" testTimeout="300000" /> | ||
<TestTypeSpecific> | ||
<UnitTestRunConfig testTypeId="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b"> | ||
<AssemblyResolution> | ||
<TestDirectory useLoadContext="true" /> | ||
</AssemblyResolution> | ||
</UnitTestRunConfig> | ||
<WebTestRunConfiguration testTypeId="4e7599fa-5ecb-43e9-a887-cd63cf72d207"> | ||
<Browser name="Internet Explorer 7.0"> | ||
<Headers> | ||
<Header name="User-Agent" value="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" /> | ||
<Header name="Accept" value="*/*" /> | ||
<Header name="Accept-Language" value="{{$IEAcceptLanguage}}" /> | ||
<Header name="Accept-Encoding" value="GZIP" /> | ||
</Headers> | ||
</Browser> | ||
</WebTestRunConfiguration> | ||
</TestTypeSpecific> | ||
<AgentRule name="LocalMachineDefaultRole"> | ||
<DataCollectors> | ||
<DataCollector uri="datacollector://microsoft/CodeCoverage/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.CodeCoverage.CoveragePlugIn, Microsoft.VisualStudio.QualityTools.Plugins.CodeCoverage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Code Coverage"> | ||
<Configuration> | ||
<CodeCoverage keyFile="..\TCWB.snk" xmlns=""> | ||
<Regular> | ||
</Regular> | ||
</CodeCoverage> | ||
</Configuration> | ||
</DataCollector> | ||
</DataCollectors> | ||
</AgentRule> | ||
</Execution> | ||
</TestSettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<TestSettings | ||
id="e4a89088-cf93-404a-8b36-f4bd08faccc4" | ||
name="default" | ||
|
||
xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> | ||
<Description>These are default test settings for a local test run</Description> | ||
<Execution> | ||
<AgentRule name="LocalMachineDefaultRole"> | ||
|
||
</AgentRule> | ||
</Execution> | ||
</TestSettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<!-- Ensures that if this file changes it forces a rebuild --> | ||
<PropertyGroup> | ||
<MSBuildAllProjects> | ||
$(MSBuildAllProjects);$(TargetsPath)\Common.Build.Traversal.targets | ||
</MSBuildAllProjects> | ||
</PropertyGroup> | ||
|
||
<Target Name="Rebuild"> | ||
<MSBuild Projects="@(ProjectFile)" Targets="Clean"/> | ||
<MSBuild Projects="@(SequencedProjectFile)" Targets="Clean"/> | ||
<MSBuild Projects="@(ProjectFile)" Targets="Build"/> | ||
<MSBuild Projects="@(SequencedProjectFile)" Targets="Build"/> | ||
</Target> | ||
|
||
<Target Name="Build"> | ||
<MSBuild Projects="@(ProjectFile)" Targets="Build"/> | ||
<MSBuild Projects="@(SequencedProjectFile)" Targets="Build"/> | ||
</Target> | ||
|
||
<Target Name="Clean"> | ||
<MSBuild Projects="@(ProjectFile)" Targets="Clean"/> | ||
<MSBuild Projects="@(SequencedProjectFile)" Targets="Clean"/> | ||
</Target> | ||
|
||
</Project> |
Oops, something went wrong.