Skip to content

Commit

Permalink
Working on my machine :)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMichaelis authored and twofingerrightclick committed Aug 23, 2021
1 parent e3ed36b commit 37542a7
Show file tree
Hide file tree
Showing 21 changed files with 1,017 additions and 44 deletions.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests/bin/Debug/net5.0/Dropbox.Api.Integration.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
42 changes: 42 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests/Dropbox.Api.Integration.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests/Dropbox.Api.Integration.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/dropbox-sdk-dotnet/Dropbox.Api.Integration.Tests/Dropbox.Api.Integration.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}
36 changes: 36 additions & 0 deletions Setup.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[CmdletBinding()]
param (
[Parameter(Mandatory)][string]$DbxAppKey,
[Parameter(Mandatory)][string]$DbxAppSecret,
[Parameter(Mandatory)][string]$DbxUserAccessToken,
[System.EnvironmentVariableTarget]$Scope = [System.EnvironmentVariableTarget]::User
)

Function Script:Set-EnvironmentVariable {
[CmdletBinding()]
param (
[Parameter(Mandatory)][string]$Variable,
[Parameter(Mandatory)][string]$Value,
[Parameter(Mandatory)][System.EnvironmentVariableTarget]$Scope
)
[System.Environment]::SetEnvironmentVariable($Variable, $Value, $Scope)
Set-Content -Path Env:\$Variable -Value $Value

}

Function Register-DropboxSdkDotnet {
[CmdletBinding()]
param (
[Parameter(Mandatory)][string]$DbxAppKey,
[Parameter(Mandatory)][string]$DbxAppSecret,
[Parameter(Mandatory)][string]$DbxUserAccessToken,
[System.EnvironmentVariableTarget]$Scope = [System.EnvironmentVariableTarget]::User
)

PROCESS {
Set-EnvironmentVariable 'DROPBOX_INTEGRATION_AppKey' $DbxAppKey $Scope
Set-EnvironmentVariable 'DROPBOX_INTEGRATION_appSecret' $DbxAppSecret $Scope
Set-EnvironmentVariable 'DROPBOX_INTEGRATION_userAccessToken' $DbxUserAccessToken $Scope
}
}
Register-DropboxSdkDotnet @PSBoundParameters
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@ public static void ClassInitialize(TestContext context)

userRefreshToken = config["userRefreshToken"];
userAccessToken = config["userAccessToken"];
userAccessToken = "";
client = new DropboxClient(userAccessToken);

var teamToken = config["teamAccessToken"];
teamClient = new DropboxTeamClient(teamToken);
//teamClient = new DropboxTeamClient(teamToken);

appClient = new DropboxAppClient(appKey, appSecret);
}
Expand Down Expand Up @@ -116,7 +117,7 @@ public async Task Initialize()
[TestCleanup]
public void Cleanup()
{
var result = client.Files.ListFolderAsync(TestingPath).Result;
var result = client?.Files.ListFolderAsync(TestingPath).Result;

foreach (var entry in result.Entries)
{
Expand Down

This file was deleted.

59 changes: 38 additions & 21 deletions dropbox-sdk-dotnet/Dropbox.Api.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dropbox.Api", "Dropbox.Api\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBusinessDashboard", "Examples\SimpleBusinessDashboard\SimpleBusinessDashboard.csproj", "{B762DE35-E606-4B57-8860-1A662DF5624C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dropbox.Api.Integration.Tests", "Dropbox.Api.Integration.Tests\Dropbox.Api.Integration.Tests.csproj", "{0FDF769B-43F8-4907-98D5-A413BD9DE62D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dropbox.Api.Integration.Tests", "Dropbox.Api.Integration.Tests\Dropbox.Api.Integration.Tests.csproj", "{0FDF769B-43F8-4907-98D5-A413BD9DE62D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dropbox.Api.Unit.Tests", "Dropbox.Api.Unit.Tests\Dropbox.Api.Unit.Tests.csproj", "{EECFD4AD-B7DF-4AA7-B067-C6DA4139CB46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OauthTest", "Examples\OauthBasic\OauthTest.csproj", "{AC53CD8C-710C-4019-8B62-F819F0D6EF38}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dropbox.Api.Unit.Tests", "Dropbox.Api.Unit.Tests\Dropbox.Api.Unit.Tests.csproj", "{EECFD4AD-B7DF-4AA7-B067-C6DA4139CB46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OAuthPKCE", "Examples\OAuthPKCE\OAuthPKCE.csproj", "{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}"
EndProject
Expand All @@ -29,11 +27,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OauthBasic", "Examples\OauthBasic\OauthBasic.csproj", "{7839C19C-D817-4D7E-AA66-919042050167}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleTestCore", "Examples\SimpleTestCore\SimpleTestCore.csproj", "{649E39D9-C248-4C81-8486-4EC068DE0FD2}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Examples\UniversalDemo\UniversalDemo\UniversalDemo.Shared\UniversalDemo.Shared.projitems*{51d9899c-31d6-4c22-b894-e9498cb90577}*SharedItemsImports = 4
Examples\UniversalDemo\UniversalDemo\UniversalDemo.Shared\UniversalDemo.Shared.projitems*{680e8f6f-aa67-4912-ae20-f89e482dc2cd}*SharedItemsImports = 4
Examples\UniversalDemo\UniversalDemo\UniversalDemo.Shared\UniversalDemo.Shared.projitems*{6bcc4215-b726-4b37-a932-4dca74a1d465}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -156,22 +157,6 @@ Global
{EECFD4AD-B7DF-4AA7-B067-C6DA4139CB46}.Release|ARM.ActiveCfg = Release|Any CPU
{EECFD4AD-B7DF-4AA7-B067-C6DA4139CB46}.Release|x64.ActiveCfg = Release|Any CPU
{EECFD4AD-B7DF-4AA7-B067-C6DA4139CB46}.Release|x86.ActiveCfg = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|ARM.ActiveCfg = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|ARM.Build.0 = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|x64.ActiveCfg = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|x64.Build.0 = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|x86.ActiveCfg = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Debug|x86.Build.0 = Debug|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|Any CPU.Build.0 = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|ARM.ActiveCfg = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|ARM.Build.0 = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|x64.ActiveCfg = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|x64.Build.0 = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|x86.ActiveCfg = Release|Any CPU
{AC53CD8C-710C-4019-8B62-F819F0D6EF38}.Release|x86.Build.0 = Release|Any CPU
{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}.Debug|ARM.ActiveCfg = Debug|Any CPU
Expand All @@ -188,6 +173,38 @@ Global
{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}.Release|x64.Build.0 = Release|Any CPU
{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}.Release|x86.ActiveCfg = Release|Any CPU
{1DA8B62F-4AB9-4514-BE94-7D86BA4C130D}.Release|x86.Build.0 = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|ARM.ActiveCfg = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|ARM.Build.0 = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|x64.ActiveCfg = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|x64.Build.0 = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|x86.ActiveCfg = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Debug|x86.Build.0 = Debug|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|Any CPU.Build.0 = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|ARM.ActiveCfg = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|ARM.Build.0 = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|x64.ActiveCfg = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|x64.Build.0 = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|x86.ActiveCfg = Release|Any CPU
{7839C19C-D817-4D7E-AA66-919042050167}.Release|x86.Build.0 = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|ARM.ActiveCfg = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|ARM.Build.0 = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|x64.ActiveCfg = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|x64.Build.0 = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|x86.ActiveCfg = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Debug|x86.Build.0 = Debug|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|Any CPU.Build.0 = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|ARM.ActiveCfg = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|ARM.Build.0 = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|x64.ActiveCfg = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|x64.Build.0 = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|x86.ActiveCfg = Release|Any CPU
{649E39D9-C248-4C81-8486-4EC068DE0FD2}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion dropbox-sdk-dotnet/Dropbox.Api/Dropbox.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

<CodeAnalysisRuleSet>../stylecop.ruleset</CodeAnalysisRuleSet>
Expand Down
2 changes: 1 addition & 1 deletion dropbox-sdk-dotnet/Examples/OauthBasic/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<userSettings>
<OauthTest.Settings>
Expand Down
21 changes: 21 additions & 0 deletions dropbox-sdk-dotnet/Examples/OauthBasic/OauthBasic.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>

<ItemGroup>
<None Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Dropbox.Api" Version="6.8.0" />
<PackageReference Include="System.configuration.Configurationmanager" Version="5.0.0" />
</ItemGroup>

</Project>
111 changes: 111 additions & 0 deletions dropbox-sdk-dotnet/Examples/OauthBasic/OauthTest.csproj.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{AC53CD8C-710C-4019-8B62-F819F0D6EF38}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OauthTest</RootNamespace>
<AssemblyName>OauthTest</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Net" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http.WebRequest" />
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Dropbox.Api\Dropbox.Api.csproj">
<Project>{68180b54-4724-4cd1-baa6-ee7bc309797c}</Project>
<Name>Dropbox.Api</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="index.html">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
Loading

0 comments on commit 37542a7

Please sign in to comment.