-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work on setting up the build and nF project
- Fix AppVeyor - Tweak VS extension installer - Add nuget project folder to make restore work - Fix paths to packages - Add missing build properties for class library build - Add Nuget solutions and projects Signed-off-by: José Simões <jose.simoes@eclo.solutions>
- Loading branch information
1 parent
db8fc90
commit 44a0128
Showing
8 changed files
with
251 additions
and
20 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
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 |
---|---|---|
@@ -1,4 +1,9 @@ | ||
$vsixPath = "$($env:USERPROFILE)\nanoFramework.Tools.VS2017.Extension.vsix" | ||
(New-Object Net.WebClient).DownloadFile('https://marketplace.visualstudio.com/_apis/public/gallery/publishers/vs-publisher-1470366/vsextensions/nanoFrameworkVS2017Extension/0/vspackage', $vsixPath) | ||
"`"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII | ||
& .\install-vsix.cmd | ||
|
||
'Installing nanoFramework VS extension ...' | Write-Host -ForegroundColor White -NoNewline | ||
|
||
& .\install-vsix.cmd --quiet --no-verbose > $null | ||
|
||
'OK' | Write-Host -ForegroundColor Green |
70 changes: 70 additions & 0 deletions
70
source/Nuget.Windows.Storage.DELIVERABLES/Nuget.Windows.Storage.DELIVERABLES.nuproj
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,70 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|AnyCPU"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|AnyCPU"> | ||
<Configuration>Release</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="..\bin\$(Configuration)\Stubs\*.*"> | ||
<Link>content\Stubs\%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\*.txt"> | ||
<Link>content\txt\%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\*.dump"> | ||
<Link>content\dump\%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\*.strings"> | ||
<Link>content\dump\%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\*.resources"> | ||
<Link>content\resources\%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\*.il"> | ||
<Link>content\disasm\%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Content> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="lib\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Dependency Include="nanoFramework.CoreLibrary"> | ||
<Version>[1.0.0-preview073]</Version> | ||
</Dependency> | ||
<Dependency Include="nanoFramework.Windows.Storage.Streams"> | ||
<Version>[1.0.0-preview201]</Version> | ||
</Dependency> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>8D8B5AF4-165A-4070-968D-6A2C58A35273</ProjectGuid> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<NuProjPath>..\packages\NuProj.0.20.4-beta\tools\</NuProjPath> | ||
</PropertyGroup> | ||
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" /> | ||
<PropertyGroup Label="Configuration"> | ||
<Id>nanoFramework.Windows.Storage.DELIVERABLES</Id> | ||
<Version>$(GitVersion_NuGetVersionV2)</Version> | ||
<Title>nanoFramework.Windows.Storage.DELIVERABLES</Title> | ||
<Authors>nanoFramework project contributors</Authors> | ||
<Owners>nanoFramework project contributors</Owners> | ||
<Summary>Windows.Storage.DELIVERABLES is not meant for development.</Summary> | ||
<Description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the Windows.Storage assembly for nanoFramework. These are for testing purposes and for updating the native code base of the core library.</Description> | ||
<ReleaseNotes> | ||
</ReleaseNotes> | ||
<ProjectUrl>https://github.com/nanoframework/lib-Windows.Storage</ProjectUrl> | ||
<LicenseUrl> | ||
</LicenseUrl> | ||
<Copyright>Copyright (c) 2018 The nanoFramework project contributors</Copyright> | ||
<Tags>nanoFramework C# csharp netmf netnf Windows.Storage</Tags> | ||
<IconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</IconUrl> | ||
<GenerateSymbolPackage>false</GenerateSymbolPackage> | ||
</PropertyGroup> | ||
<Import Project="$(NuProjPath)\NuProj.targets" /> | ||
</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,67 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|AnyCPU"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|AnyCPU"> | ||
<Configuration>Release</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="..\bin\$(Configuration)\Windows.Storage.dll"> | ||
<Link>lib\Windows.Storage.dll</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\Windows.Storage.pdb"> | ||
<Link>lib\Windows.Storage.pdb</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\Windows.Storage.pdbx"> | ||
<Link>lib\Windows.Storage.pdbx</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\Windows.Storage.pe"> | ||
<Link>lib\Windows.Storage.pe</Link> | ||
</Content> | ||
<Content Include="..\bin\$(Configuration)\Windows.Storage.xml"> | ||
<Link>lib\Windows.Storage.xml</Link> | ||
</Content> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="lib\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Dependency Include="nanoFramework.CoreLibrary"> | ||
<Version>[1.0.0-preview073]</Version> | ||
</Dependency> | ||
<Dependency Include="nanoFramework.Windows.Storage.Streams"> | ||
<Version>[1.0.0-preview201]</Version> | ||
</Dependency> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>8b4c7973-9a32-4d6d-82b1-a166fa4b89e2</ProjectGuid> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<NuProjPath>..\packages\NuProj.0.20.4-beta\tools\</NuProjPath> | ||
</PropertyGroup> | ||
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" /> | ||
<PropertyGroup Label="Configuration"> | ||
<Id>nanoFramework.Windows.Storage</Id> | ||
<Version>$(GitVersion_NuGetVersionV2)</Version> | ||
<Title>nanoFramework.Windows.Storage</Title> | ||
<Authors>nanoFramework project contributors</Authors> | ||
<Owners>nanoFramework project contributors</Owners> | ||
<Summary>Windows.Storage assembly for nanoFramework C# projects</Summary> | ||
<Description>This package includes the Windows.Storage assembly for nanoFramework C# projects</Description> | ||
<ReleaseNotes> | ||
</ReleaseNotes> | ||
<ProjectUrl>https://github.com/nanoframework/lib-Windows.Storage</ProjectUrl> | ||
<LicenseUrl> | ||
</LicenseUrl> | ||
<Copyright>Copyright (c) 2018 The nanoFramework project contributors</Copyright> | ||
<Tags>nanoFramework C# csharp netmf netnf Windows.Storage</Tags> | ||
<IconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</IconUrl> | ||
<GenerateSymbolPackage>false</GenerateSymbolPackage> | ||
</PropertyGroup> | ||
<Import Project="$(NuProjPath)\NuProj.targets" /> | ||
</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
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,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.28010.2026 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FF286327-C783-4F7A-AB73-9BCBAD0D4460}") = "Nuget.Windows.Storage.DELIVERABLES", "Nuget.Windows.Storage.DELIVERABLES\Nuget.Windows.Storage.DELIVERABLES.nuproj", "{8D8B5AF4-165A-4070-968D-6A2C58A35273}" | ||
EndProject | ||
Project("{FF286327-C783-4F7A-AB73-9BCBAD0D4460}") = "Nuget.Windows.Storage", "Nuget.Windows.Storage\Nuget.Windows.Storage.nuproj", "{8B4C7973-9A32-4D6D-82B1-A166FA4B89E2}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{8D8B5AF4-165A-4070-968D-6A2C58A35273}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{8D8B5AF4-165A-4070-968D-6A2C58A35273}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{8D8B5AF4-165A-4070-968D-6A2C58A35273}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{8D8B5AF4-165A-4070-968D-6A2C58A35273}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{8B4C7973-9A32-4D6D-82B1-A166FA4B89E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{8B4C7973-9A32-4D6D-82B1-A166FA4B89E2}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{8B4C7973-9A32-4D6D-82B1-A166FA4B89E2}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{8B4C7973-9A32-4D6D-82B1-A166FA4B89E2}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {ACA0B0A7-A547-46C8-A3D8-4DA94A464DF5} | ||
EndGlobalSection | ||
EndGlobal |
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
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="nanoFramework.CoreLibrary" version="1.0.0-preview062" targetFramework="netnanoframework10" /> | ||
<package id="nanoFramework.CoreLibrary" version="1.0.0-preview073" targetFramework="netnanoframework10" /> | ||
<package id="nanoFramework.Windows.Storage.Streams" version="1.0.0-preview201" targetFramework="netnanoframework10" /> | ||
<package id="NuProj" version="0.20.4-beta" developmentDependency="true" /> | ||
<package id="NuProj.Common" version="0.20.4-beta" developmentDependency="true" /> | ||
</packages> |