- rename projects to the new extension
- rework projects as required
- update Nuget packages
- bump Nuget packages
- update AppVeyor to install nanoFramework extension 


Signed-off-by: José Simões <jose.simoes@eclo.solutions>
This commit is contained in:
José Simões 2017-06-28 02:23:25 +01:00 коммит произвёл GitHub
Родитель a8d4993f67
Коммит e37f153491
20 изменённых файлов: 755 добавлений и 1007 удалений

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

@ -1,443 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props" Condition="Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props')" />
<PropertyGroup>
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
</PropertyGroup>
<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>{5228FA24-C912-44F0-96E4-F8CAB9307265}</ProjectGuid>
<OutputType>Library</OutputType>
<AssemblyName>mscorlib</AssemblyName>
<RootNamespace>
</RootNamespace>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFrameworkIdentifier>
</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<NoWarn>$(NoWarn),0169,0649,0659,0660,0661,3001</NoWarn>
<RuntimeMetadataVersion>$(RuntimeMetadataVersion)</RuntimeMetadataVersion>
<!-- This prevents the default MsBuild targets from referencing System.Core.dll -->
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
<!-- These prevent the default MsBuild targets from referencing System.dll and mscorlib.dll -->
<NoStdLib>true</NoStdLib>
<NoCompilerStandardLib>true</NoCompilerStandardLib>
<UseVSHostingProcess>False</UseVSHostingProcess>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsCoreAssembly>true</IsCoreAssembly>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<IsMscorlib>true</IsMscorlib>
<!--<CompilerResponseFile>$(ProjectDir)$(OutDir)coreAssembly.rsp;$(CompilerResponseFile)</CompilerResponseFile>-->
</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>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\Debug\mscorlib.xml</DocumentationFile>
</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>
<DocumentationFile>bin\Release\mscorlib.xml</DocumentationFile>
<NoWarn>,0169,0649,0659,0660,0661,3001,1591</NoWarn>
<LangVersion>3</LangVersion>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<DelaySign>false</DelaySign>
</PropertyGroup>
<PropertyGroup>
<!-- override default options for MetaDataProcessor -->
<!-- generate PE: TRUE -->
<NFMDP_PE_SKIP>false</NFMDP_PE_SKIP>
<NFMDP_PE_NoBitmapCompression>true</NFMDP_PE_NoBitmapCompression>
<!-- generate STUBS: TRUE -->
<NFMDP_STUB_SKIP>false</NFMDP_STUB_SKIP>
<!-- we like verbose -->
<NFMDP_STUB_Verbose>true</NFMDP_STUB_Verbose>
<NFMDP_STUB_GenerateSkeletonFile>Stubs\corlib_native</NFMDP_STUB_GenerateSkeletonFile>
<NFMDP_STUB_GenerateSkeletonProject>CorLib</NFMDP_STUB_GenerateSkeletonProject>
<!-- this is one is absolutly mandatory for the base class library -->
<NFMDP_STUB_SkeletonWithoutInterop>true</NFMDP_STUB_SkeletonWithoutInterop>
<NFMDP_CMD_LINE_OUTPUT>false</NFMDP_CMD_LINE_OUTPUT>
</PropertyGroup>
<ItemGroup>
<Compile Include="System\BitConverter.cs" />
<Compile Include="System\AppDomain.cs" />
<Compile Include="System\AppDomainUnloadedException.cs" />
<Compile Include="System\ApplicationException.cs" />
<Compile Include="System\ArgumentException.cs" />
<Compile Include="System\ArgumentNullException.cs" />
<Compile Include="System\ArgumentOutOfRangeException.cs" />
<Compile Include="System\Array.cs" />
<Compile Include="System\AssemblyInfo2.cs" />
<Compile Include="System\AsyncCallback.cs" />
<Compile Include="System\Attribute.cs" />
<Compile Include="System\AttributeTargets.cs" />
<Compile Include="System\AttributeUsageAttribute.cs" />
<Compile Include="System\Boolean.cs" />
<Compile Include="System\Byte.cs" />
<Compile Include="System\Char.cs" />
<Compile Include="System\ComponentModel\EditorBrowsableAttribute.cs" />
<Compile Include="System\Convert.cs" />
<Compile Include="System\CLSCompliantAttribute.cs" />
<Compile Include="System\DateTime.cs" />
<Compile Include="System\DayOfWeek.cs" />
<Compile Include="System\DBNull.cs" />
<Compile Include="System\Decimal.cs" />
<Compile Include="System\Delegate.cs" />
<Compile Include="System\Diagnostics\ConditionalAttribute.cs" />
<Compile Include="System\Diagnostics\Debugger.cs" />
<Compile Include="System\Diagnostics\DebuggerAttributes.cs" />
<Compile Include="System\Double.cs" />
<Compile Include="System\Enum.cs" />
<Compile Include="System\Exception.cs" />
<Compile Include="System\FlagsAttribute.cs" />
<Compile Include="System\GC.cs" />
<Compile Include="System\Guid.cs" />
<Compile Include="System\IAsyncResult.cs" />
<Compile Include="System\ICloneable.cs" />
<Compile Include="System\IComparable.cs" />
<Compile Include="System\ICustomFormatter.cs" />
<Compile Include="System\IDisposable.cs" />
<Compile Include="System\IFormatProvider.cs" />
<Compile Include="System\IFormattable.cs" />
<Compile Include="System\IndexOutOfRangeException.cs" />
<Compile Include="System\Int16.cs" />
<Compile Include="System\Int32.cs" />
<Compile Include="System\Int64.cs" />
<Compile Include="System\IntPtr.cs" />
<Compile Include="System\InvalidCastException.cs" />
<Compile Include="System\InvalidOperationException.cs" />
<Compile Include="System\MarshalByRefObject.cs" />
<Compile Include="System\Math.cs" />
<Compile Include="System\MulticastDelegate.cs" />
<Compile Include="System\NonSerializedAttribute.cs" />
<Compile Include="System\NotImplementedException.cs" />
<Compile Include="System\NotSupportedException.cs" />
<Compile Include="System\NullReferenceException.cs" />
<Compile Include="System\Number.cs" />
<Compile Include="System\Object.cs" />
<Compile Include="System\ObjectDisposedException.cs" />
<Compile Include="System\ObsoleteAttribute.cs" />
<Compile Include="System\OutOfMemoryException.cs" />
<Compile Include="System\ParamArrayAttribute.cs" />
<Compile Include="System\Random.cs" />
<Compile Include="System\RuntimeArgumentHandle.cs" />
<Compile Include="System\RuntimeFieldHandle.cs" />
<Compile Include="System\RuntimeMethodHandle.cs" />
<Compile Include="System\RuntimeType.cs" />
<Compile Include="System\RuntimeTypeHandle.cs" />
<Compile Include="System\TargetFrameworkAttribute.cs" />
<Compile Include="System\SByte.cs" />
<Compile Include="System\SerializableAttribute.cs" />
<Compile Include="System\Single.cs" />
<Compile Include="System\String.cs" />
<Compile Include="System\SystemException.cs" />
<Compile Include="System\Text\Decoder.cs" />
<Compile Include="System\Text\Encoding.cs" />
<Compile Include="System\Text\StringBuilder.cs" />
<Compile Include="System\Text\UTF8Decoder.cs" />
<Compile Include="System\Text\UTF8Encoding.cs" />
<Compile Include="System\ThreadAttributes.cs" />
<Compile Include="System\TimeSpan.cs" />
<Compile Include="System\Type.cs" />
<Compile Include="System\TypeCode.cs" />
<Compile Include="System\TypedReference.cs" />
<Compile Include="System\UInt16.cs" />
<Compile Include="System\UInt32.cs" />
<Compile Include="System\UInt64.cs" />
<Compile Include="System\UIntPtr.cs" />
<Compile Include="System\ValueType.cs" />
<Compile Include="System\Version.cs" />
<Compile Include="System\Void.cs" />
<Compile Include="System\WeakReference.cs" />
<Compile Include="System\Collections\ArrayList.cs" />
<Compile Include="System\Collections\DictionaryEntry.cs" />
<Compile Include="System\Collections\Hashtable.cs" />
<Compile Include="System\Collections\ICollection.cs" />
<Compile Include="System\Collections\IComparer.cs" />
<Compile Include="System\Collections\IDictionary.cs" />
<Compile Include="System\Collections\IEqualityComparer.cs" />
<Compile Include="System\Collections\IEnumerable.cs" />
<Compile Include="System\Collections\IEnumerator.cs" />
<Compile Include="System\Collections\IList.cs" />
<Compile Include="System\Collections\Queue.cs" />
<Compile Include="System\Collections\Stack.cs" />
<Compile Include="System\IO\IOException.cs" />
<Compile Include="System\IO\SeekOrigin.cs" />
<Compile Include="System\IO\Stream.cs" />
<Compile Include="System\Globalization\CultureInfo.cs" />
<EmbeddedResource Include="System\Globalization\Resources\CultureInfo.resx">
<Generator>ResXFileCodeGenerator(Mscorlib=true)</Generator>
<LastGenOutput>CultureInfo.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="System\Globalization\Resources\CultureInfo.designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>CultureInfo.resx</DependentUpon>
</Compile>
<EmbeddedResource Include="System\Globalization\Resources\CultureInfo.en.resx">
<!-- hack to keep in mscorlib -->
<DependentUpon>CultureInfo.en.resx</DependentUpon>
</EmbeddedResource>
<Compile Include="System\Globalization\CultureTypes.cs" />
<Compile Include="System\Globalization\DateTimeFormat.cs" />
<Compile Include="System\Globalization\DateTimeFormatInfo.cs" />
<Compile Include="System\Globalization\DaylightTime.cs" />
<Compile Include="System\Globalization\NumberFormatInfo.cs" />
<Compile Include="System\Reflection\Assembly.cs" />
<Compile Include="System\Reflection\AssemblyAttributes.cs" />
<Compile Include="System\Reflection\AssemblyNameFlags.cs" />
<Compile Include="System\Reflection\AssemblyReflectionAttributes.cs" />
<Compile Include="System\Reflection\Binder.cs" />
<Compile Include="System\Reflection\BindingFlags.cs" />
<Compile Include="System\Reflection\ConstructorInfo.cs" />
<Compile Include="System\Reflection\DefaultMemberAttribute.cs" />
<Compile Include="System\Reflection\FieldInfo.cs" />
<Compile Include="System\Reflection\FieldReflectionAttributes.cs" />
<Compile Include="System\Reflection\IReflect.cs" />
<Compile Include="System\Reflection\MemberInfo.cs" />
<Compile Include="System\Reflection\MethodImplAttributes.cs" />
<Compile Include="System\Reflection\MemberTypes.cs" />
<Compile Include="System\Reflection\MethodBase.cs" />
<Compile Include="System\Reflection\MethodInfo.cs" />
<Compile Include="System\Reflection\PropertyInfo.cs" />
<Compile Include="System\Reflection\RuntimeConstructorInfo.cs" />
<Compile Include="System\Reflection\RuntimeFieldInfo.cs" />
<Compile Include="System\Reflection\RuntimeMethodInfo.cs" />
<Compile Include="System\Resources\ResourceManager.cs" />
<Compile Include="System\Runtime\CompilerServices\AccessedThroughPropertyAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\ExtensionAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\MethodImplAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\IndexerNameAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\InternalsVisibleToAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\RuntimeHelpers.cs" />
<Compile Include="System\Runtime\InteropServices\Attributes.cs" />
<Compile Include="System\Runtime\InteropServices\CharSet.cs" />
<Compile Include="System\Runtime\InteropServices\LayoutKind.cs" />
<Compile Include="System\Runtime\Remoting\__TransparentProxy.cs" />
<Compile Include="System\Runtime\Remoting\RemotingServices.cs" />
<Compile Include="System\Threading\AutoResetEvent.cs" />
<Compile Include="System\Threading\Interlocked.cs" />
<Compile Include="System\Threading\ManualResetEvent.cs" />
<Compile Include="System\Threading\Monitor.cs" />
<Compile Include="System\Threading\Thread.cs" />
<Compile Include="System\Threading\ThreadAbortException.cs" />
<Compile Include="System\Threading\ThreadPriority.cs" />
<Compile Include="System\Threading\ThreadStart.cs" />
<Compile Include="System\Threading\ThreadState.cs" />
<Compile Include="System\Threading\Timer.cs" />
<Compile Include="System\Threading\Timeout.cs" />
<Compile Include="System\Threading\WaitHandle.cs" />
</ItemGroup>
<ItemGroup>
<NFMDP_PE_ExcludeClassByName Include="System.AttributeTargets">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.AttributeUsageAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.ComponentModel.EditorBrowsableAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.CLSCompliantAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.DBNull">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Decimal">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.ConditionalAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggableAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<!--<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerBrowsableAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>-->
<!--<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerBrowsableState">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>-->
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerDisplayAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerHiddenAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerNonUserCodeAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerStepperBoundaryAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerStepThroughAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Diagnostics.DebuggerTypeProxyAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.FlagsAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.MTAThreadAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.NonSerializedAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.ObsoleteAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.ParamArrayAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyCompanyAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyConfigurationAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyCopyrightAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyCultureAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyDefaultAliasAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyDelaySignAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyDescriptionAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyFileVersionAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyFlagsAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyInformationalVersionAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyKeyFileAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyKeyNameAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyProductAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyTitleAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyTrademarkAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.AssemblyVersionAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.DefaultMemberAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.FieldNoReflectionAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Reflection.MethodImplAttributes">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.CompilerServices.IndexerNameAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.CompilerServices.MethodCodeType">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.CompilerServices.MethodImplAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.CompilerServices.MethodImplOptions">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.InteropServices.CharSet">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.InteropServices.ComVisibleAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.InteropServices.GuidAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.InteropServices.LayoutKind">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.InteropServices.OutAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.InteropServices.StructLayoutAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Runtime.Remoting.Proxies.__TransparentProxy">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.SerializableAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.STAThreadAttribute">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.Threading.Timeout">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.TypedReference">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
<NFMDP_PE_ExcludeClassByName Include="System.UIntPtr">
<InProject>false</InProject>
</NFMDP_PE_ExcludeClassByName>
</ItemGroup>
<ItemGroup>
<None Include="key.snk" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets'))" />
<Error Condition="!Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props'))" />
<Error Condition="!Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets'))" />
</Target>
<Import Project="packages\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets" Condition="Exists('packages\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets')" />
<Import Project="packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets" Condition="Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets')" />
</Project>

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

@ -0,0 +1,227 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
<PropertyGroup>
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>be7b95d5-087c-45f8-8197-4b438bedfe11</ProjectGuid>
<OutputType>Library</OutputType>
<FileAlignment>512</FileAlignment>
<RootNamespace>
</RootNamespace>
<AssemblyName>mscorlib</AssemblyName>
<NFTargetVersion>v1.0</NFTargetVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputName>mscorlib</OutputName>
<IsCoreAssembly>true</IsCoreAssembly>
<IsMscorlib>true</IsMscorlib>
<DocumentationFile>bin\$(Configuration)\mscorlib.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<!-- generate PE: TRUE -->
<NFMDP_PE_SKIP>false</NFMDP_PE_SKIP>
<NFMDP_PE_NoBitmapCompression>true</NFMDP_PE_NoBitmapCompression>
<!-- generate STUBS: TRUE -->
<NFMDP_STUB_SKIP>false</NFMDP_STUB_SKIP>
<!-- we like verbose -->
<NFMDP_STUB_Verbose>true</NFMDP_STUB_Verbose>
<NFMDP_STUB_GenerateSkeletonFile>Stubs\corlib_native</NFMDP_STUB_GenerateSkeletonFile>
<NFMDP_STUB_GenerateSkeletonProject>CorLib</NFMDP_STUB_GenerateSkeletonProject>
<!-- this is one is absolutly mandatory for the base class library -->
<NFMDP_STUB_SkeletonWithoutInterop>true</NFMDP_STUB_SkeletonWithoutInterop>
<NFMDP_CMD_LINE_OUTPUT>false</NFMDP_CMD_LINE_OUTPUT>
<NFMDP_DUMP_SKIP>false</NFMDP_DUMP_SKIP>
<NFMDP_DAT_SKIP>false</NFMDP_DAT_SKIP>
<NFMDP_XML_SKIP>false</NFMDP_XML_SKIP>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
<ItemGroup>
<Compile Include="System\AppDomain.cs" />
<Compile Include="System\AppDomainUnloadedException.cs" />
<Compile Include="System\ApplicationException.cs" />
<Compile Include="System\ArgumentException.cs" />
<Compile Include="System\ArgumentNullException.cs" />
<Compile Include="System\ArgumentOutOfRangeException.cs" />
<Compile Include="System\Array.cs" />
<Compile Include="System\AssemblyInfo2.cs" />
<Compile Include="System\AsyncCallback.cs" />
<Compile Include="System\Attribute.cs" />
<Compile Include="System\AttributeTargets.cs" />
<Compile Include="System\AttributeUsageAttribute.cs" />
<Compile Include="System\BitConverter.cs" />
<Compile Include="System\Boolean.cs" />
<Compile Include="System\Byte.cs" />
<Compile Include="System\Char.cs" />
<Compile Include="System\CLSCompliantAttribute.cs" />
<Compile Include="System\Collections\ArrayList.cs" />
<Compile Include="System\Collections\DictionaryEntry.cs" />
<Compile Include="System\Collections\Hashtable.cs" />
<Compile Include="System\Collections\ICollection.cs" />
<Compile Include="System\Collections\IComparer.cs" />
<Compile Include="System\Collections\IDictionary.cs" />
<Compile Include="System\Collections\IEnumerable.cs" />
<Compile Include="System\Collections\IEnumerator.cs" />
<Compile Include="System\Collections\IEqualityComparer.cs" />
<Compile Include="System\Collections\IList.cs" />
<Compile Include="System\Collections\Queue.cs" />
<Compile Include="System\Collections\Stack.cs" />
<Compile Include="System\ComponentModel\EditorBrowsableAttribute.cs" />
<Compile Include="System\Convert.cs" />
<Compile Include="System\DateTime.cs" />
<Compile Include="System\DayOfWeek.cs" />
<Compile Include="System\DBNull.cs" />
<Compile Include="System\Decimal.cs" />
<Compile Include="System\Delegate.cs" />
<Compile Include="System\Diagnostics\ConditionalAttribute.cs" />
<Compile Include="System\Diagnostics\Debugger.cs" />
<Compile Include="System\Diagnostics\DebuggerAttributes.cs" />
<Compile Include="System\Double.cs" />
<Compile Include="System\Enum.cs" />
<Compile Include="System\Exception.cs" />
<Compile Include="System\FlagsAttribute.cs" />
<Compile Include="System\GC.cs" />
<Compile Include="System\Globalization\CultureInfo.cs" />
<Compile Include="System\Globalization\CultureTypes.cs" />
<Compile Include="System\Globalization\DateTimeFormat.cs" />
<Compile Include="System\Globalization\DateTimeFormatInfo.cs" />
<Compile Include="System\Globalization\DaylightTime.cs" />
<Compile Include="System\Globalization\NumberFormatInfo.cs" />
<Compile Include="System\Globalization\Resources\CultureInfo.designer.cs">
<DependentUpon>CultureInfo.resx</DependentUpon>
</Compile>
<Compile Include="System\Guid.cs" />
<Compile Include="System\IAsyncResult.cs" />
<Compile Include="System\ICloneable.cs" />
<Compile Include="System\IComparable.cs" />
<Compile Include="System\ICustomFormatter.cs" />
<Compile Include="System\IDisposable.cs" />
<Compile Include="System\IFormatProvider.cs" />
<Compile Include="System\IFormattable.cs" />
<Compile Include="System\IndexOutOfRangeException.cs" />
<Compile Include="System\Int16.cs" />
<Compile Include="System\Int32.cs" />
<Compile Include="System\Int64.cs" />
<Compile Include="System\IntPtr.cs" />
<Compile Include="System\InvalidCastException.cs" />
<Compile Include="System\InvalidOperationException.cs" />
<Compile Include="System\IO\IOException.cs" />
<Compile Include="System\IO\SeekOrigin.cs" />
<Compile Include="System\IO\Stream.cs" />
<Compile Include="System\MarshalByRefObject.cs" />
<Compile Include="System\Math.cs" />
<Compile Include="System\MulticastDelegate.cs" />
<Compile Include="System\NonSerializedAttribute.cs" />
<Compile Include="System\NotImplementedException.cs" />
<Compile Include="System\NotSupportedException.cs" />
<Compile Include="System\NullReferenceException.cs" />
<Compile Include="System\Number.cs" />
<Compile Include="System\Object.cs" />
<Compile Include="System\ObjectDisposedException.cs" />
<Compile Include="System\ObsoleteAttribute.cs" />
<Compile Include="System\OutOfMemoryException.cs" />
<Compile Include="System\ParamArrayAttribute.cs" />
<Compile Include="System\Random.cs" />
<Compile Include="System\Reflection\Assembly.cs" />
<Compile Include="System\Reflection\AssemblyAttributes.cs" />
<Compile Include="System\Reflection\AssemblyNameFlags.cs" />
<Compile Include="System\Reflection\AssemblyReflectionAttributes.cs" />
<Compile Include="System\Reflection\Binder.cs" />
<Compile Include="System\Reflection\BindingFlags.cs" />
<Compile Include="System\Reflection\ConstructorInfo.cs" />
<Compile Include="System\Reflection\DefaultMemberAttribute.cs" />
<Compile Include="System\Reflection\FieldInfo.cs" />
<Compile Include="System\Reflection\FieldReflectionAttributes.cs" />
<Compile Include="System\Reflection\IReflect.cs" />
<Compile Include="System\Reflection\MemberInfo.cs" />
<Compile Include="System\Reflection\MemberTypes.cs" />
<Compile Include="System\Reflection\MethodBase.cs" />
<Compile Include="System\Reflection\MethodImplAttributes.cs" />
<Compile Include="System\Reflection\MethodInfo.cs" />
<Compile Include="System\Reflection\PropertyInfo.cs" />
<Compile Include="System\Reflection\RuntimeConstructorInfo.cs" />
<Compile Include="System\Reflection\RuntimeFieldInfo.cs" />
<Compile Include="System\Reflection\RuntimeMethodInfo.cs" />
<Compile Include="System\Resources\ResourceManager.cs" />
<Compile Include="System\RuntimeArgumentHandle.cs" />
<Compile Include="System\RuntimeFieldHandle.cs" />
<Compile Include="System\RuntimeMethodHandle.cs" />
<Compile Include="System\RuntimeType.cs" />
<Compile Include="System\RuntimeTypeHandle.cs" />
<Compile Include="System\Runtime\CompilerServices\AccessedThroughPropertyAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\ExtensionAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\IndexerNameAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\InternalsVisibleToAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\MethodImplAttribute.cs" />
<Compile Include="System\Runtime\CompilerServices\RuntimeHelpers.cs" />
<Compile Include="System\Runtime\InteropServices\Attributes.cs" />
<Compile Include="System\Runtime\InteropServices\CharSet.cs" />
<Compile Include="System\Runtime\InteropServices\LayoutKind.cs" />
<Compile Include="System\Runtime\Remoting\RemotingServices.cs" />
<Compile Include="System\Runtime\Remoting\__TransparentProxy.cs" />
<Compile Include="System\SByte.cs" />
<Compile Include="System\SerializableAttribute.cs" />
<Compile Include="System\Single.cs" />
<Compile Include="System\String.cs" />
<Compile Include="System\SystemException.cs" />
<Compile Include="System\TargetFrameworkAttribute.cs" />
<Compile Include="System\Text\Decoder.cs" />
<Compile Include="System\Text\Encoding.cs" />
<Compile Include="System\Text\StringBuilder.cs" />
<Compile Include="System\Text\UTF8Decoder.cs" />
<Compile Include="System\Text\UTF8Encoding.cs" />
<Compile Include="System\ThreadAttributes.cs" />
<Compile Include="System\Threading\AutoResetEvent.cs" />
<Compile Include="System\Threading\Interlocked.cs" />
<Compile Include="System\Threading\ManualResetEvent.cs" />
<Compile Include="System\Threading\Monitor.cs" />
<Compile Include="System\Threading\Thread.cs" />
<Compile Include="System\Threading\ThreadAbortException.cs" />
<Compile Include="System\Threading\ThreadPriority.cs" />
<Compile Include="System\Threading\ThreadStart.cs" />
<Compile Include="System\Threading\ThreadState.cs" />
<Compile Include="System\Threading\Timeout.cs" />
<Compile Include="System\Threading\Timer.cs" />
<Compile Include="System\Threading\WaitHandle.cs" />
<Compile Include="System\TimeSpan.cs" />
<Compile Include="System\Type.cs" />
<Compile Include="System\TypeCode.cs" />
<Compile Include="System\TypedReference.cs" />
<Compile Include="System\UInt16.cs" />
<Compile Include="System\UInt32.cs" />
<Compile Include="System\UInt64.cs" />
<Compile Include="System\UIntPtr.cs" />
<Compile Include="System\ValueType.cs" />
<Compile Include="System\Version.cs" />
<Compile Include="System\Void.cs" />
<Compile Include="System\WeakReference.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="System\Globalization\Resources\CultureInfo.resx">
<LastGenOutput>CultureInfo.Designer.cs</LastGenOutput>
<Generator>ResXFileCodeGenerator(Mscorlib=true)</Generator>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
<ProjectExtensions>
<ProjectCapabilities>
<ProjectConfigurationsDeclaredAsItems />
</ProjectCapabilities>
</ProjectExtensions>
<Import Project="packages\NuProj.Common.0.11.28-beta\build\dotnet\NuProj.Common.targets" Condition="Exists('packages\NuProj.Common.0.11.28-beta\build\dotnet\NuProj.Common.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\NuProj.Common.0.11.28-beta\build\dotnet\NuProj.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NuProj.Common.0.11.28-beta\build\dotnet\NuProj.Common.targets'))" />
<Error Condition="!Exists('packages\NuProj.0.11.28-beta\build\NuProj.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NuProj.0.11.28-beta\build\NuProj.props'))" />
</Target>
</Project>

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

@ -52,12 +52,12 @@
<ProjectGuid>8FD36AD6-387C-48F0-A695-52D9149216FB</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<NuProjPath>..\packages\NuProj.0.11.14-beta\tools\</NuProjPath>
<NuProjPath>..\packages\NuProj.0.11.28-beta\tools\</NuProjPath>
</PropertyGroup>
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" />
<PropertyGroup Label="Configuration">
<Id>nanoFramework.CoreLibrary.DELIVERABLES</Id>
<Version>1.0.0-preview020</Version>
<Version>1.0.0-preview021</Version>
<Title>nanoFramework.CoreLibrary.DELIVERABLES</Title>
<Authors>nanoFramework project contributors</Authors>
<Owners>nanoFramework project contributors</Owners>

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

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<ItemGroup>
<Reference Include="mscorlib">
<HintPath>$(MSBuildThisFileDirectory)mscorlib.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>-->
<!-- need this here because MSBuild insists on copying mscorlib to output folder because it holds the types that are referenced -->
<!--<Target Name="AfterBuild">
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.dll')" Files="$(ProjectDir)$(OutDir)mscorlib.dll" />
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.pe')" Files="$(ProjectDir)$(OutDir)mscorlib.pe" />
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.pdbx')" Files="$(ProjectDir)$(OutDir)mscorlib.pdbx" />
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.pdb')" Files="$(ProjectDir)$(OutDir)mscorlib.pdb" />
</Target>-->
<ItemGroup >
<NFMDP_PE_LoadHints Include="$(MSBuildThisFileDirectory)mscorlib.dll">
<InProject>false</InProject>
</NFMDP_PE_LoadHints>
<!--<NFMDP_STUB_Load Include="$(MSBuildThisFileDirectory)mscorlib.dll">
<InProject>false</InProject>
</NFMDP_STUB_Load>-->
</ItemGroup>
</Project>

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

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

@ -26,7 +26,6 @@
<Content Include="..\bin\$(Configuration)\mscorlib.xml">
<Link>lib\mscorlib.xml</Link>
</Content>
<Content Include="build\nanoFramework.CoreLibrary.targets" />
</ItemGroup>
<ItemGroup>
<Folder Include="lib\" />
@ -35,12 +34,12 @@
<ProjectGuid>96eaba11-6a33-454d-a7b2-b96ca5617e8c</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<NuProjPath>..\packages\NuProj.0.11.14-beta\tools\</NuProjPath>
<NuProjPath>..\packages\NuProj.0.11.28-beta\tools\</NuProjPath>
</PropertyGroup>
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" />
<PropertyGroup Label="Configuration">
<Id>nanoFramework.CoreLibrary</Id>
<Version>1.0.0-preview020</Version>
<Version>1.0.0-preview021</Version>
<Title>nanoFramework.CoreLibrary</Title>
<Authors>nanoFramework project contributors</Authors>
<Owners>nanoFramework project contributors</Owners>

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

@ -1,229 +1,229 @@
//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace System.Reflection
{
using System;
/// <summary>
/// Specifies which culture the assembly supports.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyCultureAttribute : Attribute
{
private readonly String _culture;
/// <summary>
/// Initializes a new instance of the AssemblyCultureAttribute class with the culture supported by the assembly being attributed.
/// </summary>
/// <param name="culture">The culture supported by the attributed assembly.</param>
public AssemblyCultureAttribute(String culture)
{
_culture = culture;
}
//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
namespace System.Reflection
{
using System;
/// <summary>
/// Specifies which culture the assembly supports.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyCultureAttribute : Attribute
{
private readonly String _culture;
/// <summary>
/// Initializes a new instance of the AssemblyCultureAttribute class with the culture supported by the assembly being attributed.
/// </summary>
/// <param name="culture">The culture supported by the attributed assembly.</param>
public AssemblyCultureAttribute(String culture)
{
_culture = culture;
}
/// <summary>
/// Gets the supported culture of the attributed assembly.
/// </summary>
/// <value>
/// A string containing the name of the supported culture.
/// </value>
public String Culture
{
get { return _culture; }
}
}
/// <summary>
/// Specifies the version of the assembly being attributed.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyVersionAttribute : Attribute
{
private readonly String _version;
/// <summary>
/// Initializes a new instance of the AssemblyVersionAttribute class with the version number of the assembly being attributed.
/// </summary>
/// <param name="version">The version number of the attributed assembly.</param>
public AssemblyVersionAttribute(String version)
{
_version = version;
}
/// <summary>
/// Gets the version number of the attributed assembly.
/// </summary>
/// <value>
/// A string containing the assembly version number.
/// </value>
public String Version
{
get { return _version; }
}
}
/// <summary>
/// Specifies the name of a file containing the key pair used to generate a strong name.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyFileAttribute : Attribute
{
private readonly String _keyFile;
/// <summary>
/// Initializes a new instance of the AssemblyKeyFileAttribute class with the name of the file containing the key pair to generate a strong name for the assembly being attributed.
/// </summary>
/// <param name="keyFile">The name of the file containing the key pair.</param>
public AssemblyKeyFileAttribute(String keyFile)
{
_keyFile = keyFile;
}
public String Culture
{
get { return _culture; }
}
}
/// <summary>
/// Specifies the version of the assembly being attributed.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyVersionAttribute : Attribute
{
private readonly String _version;
/// <summary>
/// Initializes a new instance of the AssemblyVersionAttribute class with the version number of the assembly being attributed.
/// </summary>
/// <param name="version">The version number of the attributed assembly.</param>
public AssemblyVersionAttribute(String version)
{
_version = version;
}
/// <summary>
/// Gets the version number of the attributed assembly.
/// </summary>
/// <value>
/// A string containing the assembly version number.
/// </value>
public String Version
{
get { return _version; }
}
}
/// <summary>
/// Specifies the name of a file containing the key pair used to generate a strong name.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyFileAttribute : Attribute
{
private readonly String _keyFile;
/// <summary>
/// Initializes a new instance of the AssemblyKeyFileAttribute class with the name of the file containing the key pair to generate a strong name for the assembly being attributed.
/// </summary>
/// <param name="keyFile">The name of the file containing the key pair.</param>
public AssemblyKeyFileAttribute(String keyFile)
{
_keyFile = keyFile;
}
/// <summary>
/// Gets the name of the file containing the key pair used to generate a strong name for the attributed assembly.
/// </summary>
/// <value>
/// A string containing the name of the file that contains the key pair.
/// </value>
public String KeyFile
{
get { return _keyFile; }
}
}
/// <summary>
/// Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyNameAttribute : Attribute
{
private readonly String _keyName;
/// <summary>
/// Initializes a new instance of the AssemblyKeyNameAttribute class with the name of the container holding the key pair used to generate a strong name for the assembly being attributed.
/// </summary>
/// <param name="keyName">The name of the container containing the key pair.</param>
public AssemblyKeyNameAttribute(String keyName)
{
_keyName = keyName;
}
public String KeyFile
{
get { return _keyFile; }
}
}
/// <summary>
/// Specifies the name of a key container within the CSP containing the key pair used to generate a strong name.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyKeyNameAttribute : Attribute
{
private readonly String _keyName;
/// <summary>
/// Initializes a new instance of the AssemblyKeyNameAttribute class with the name of the container holding the key pair used to generate a strong name for the assembly being attributed.
/// </summary>
/// <param name="keyName">The name of the container containing the key pair.</param>
public AssemblyKeyNameAttribute(String keyName)
{
_keyName = keyName;
}
/// <summary>
/// Gets the name of the container having the key pair that is used to generate a strong name for the attributed assembly.
/// </summary>
/// <value>
/// A string containing the name of the container that has the relevant key pair.
/// </value>
public String KeyName
{
get { return _keyName; }
}
}
/// <summary>
/// Specifies that the assembly is not fully signed when created.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDelaySignAttribute : Attribute
{
private readonly bool _delaySign;
/// <summary>
/// Initializes a new instance of the AssemblyDelaySignAttribute class.
/// </summary>
/// <param name="delaySign">true if the feature this attribute represents is activated; otherwise, false.</param>
public AssemblyDelaySignAttribute(bool delaySign)
{
_delaySign = delaySign;
}
public String KeyName
{
get { return _keyName; }
}
}
/// <summary>
/// Specifies that the assembly is not fully signed when created.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDelaySignAttribute : Attribute
{
private readonly bool _delaySign;
/// <summary>
/// Initializes a new instance of the AssemblyDelaySignAttribute class.
/// </summary>
/// <param name="delaySign">true if the feature this attribute represents is activated; otherwise, false.</param>
public AssemblyDelaySignAttribute(bool delaySign)
{
_delaySign = delaySign;
}
/// <summary>
/// Gets a value indicating the state of the attribute.
/// </summary>
/// <value>
/// true if this assembly has been built as delay-signed; otherwise, false.
/// </value>
public bool DelaySign
{
get { return _delaySign; }
}
}
/// <summary>
/// Specifies a bitwise combination of AssemblyNameFlags flags for an assembly, describing just-in-time (JIT) compiler options,
/// whether the assembly is retargetable, and whether it has a full or tokenized public key. This class cannot be inherited.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFlagsAttribute : Attribute
{
public bool DelaySign
{
get { return _delaySign; }
}
}
/// <summary>
/// Specifies a bitwise combination of AssemblyNameFlags flags for an assembly, describing just-in-time (JIT) compiler options,
/// whether the assembly is retargetable, and whether it has a full or tokenized public key. This class cannot be inherited.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFlagsAttribute : Attribute
{
private readonly AssemblyNameFlags _flags;
/// <summary>
/// Note: This API is now obsolete.
/// <summary>
/// Note: This API is now obsolete.
/// Initializes a new instance of the AssemblyFlagsAttribute class with the specified combination of AssemblyNameFlags flags, cast as an unsigned integer value.
/// </summary>
/// <param name="flags">A bitwise combination of AssemblyNameFlags flags, cast as an unsigned integer value, representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.</param>
[CLSCompliant(false)]
public AssemblyFlagsAttribute(uint flags)
{
_flags = (AssemblyNameFlags)flags;
/// </summary>
/// <param name="flags">A bitwise combination of AssemblyNameFlags flags, cast as an unsigned integer value, representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.</param>
[CLSCompliant(false)]
public AssemblyFlagsAttribute(uint flags)
{
_flags = (AssemblyNameFlags)flags;
}
/// <summary>
/// Note: This API is now obsolete.
/// <summary>
/// Note: This API is now obsolete.
/// Gets an unsigned integer value representing the combination of AssemblyNameFlags flags specified when this attribute instance was created.
/// </summary>
/// <value>
/// An unsigned integer value representing a bitwise combination of AssemblyNameFlags flags.
/// </value>
[CLSCompliant(false)]
public uint Flags
{
get { return (uint)_flags; }
}
/// <summary>
/// Initializes a new instance of the AssemblyFlagsAttribute class with the specified combination of AssemblyNameFlags flags.
/// </summary>
/// <param name="assemblyFlags">A bitwise combination of AssemblyNameFlags flags representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.</param>
public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)
{
_flags = assemblyFlags;
}
}
/// <summary>
/// Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFileVersionAttribute : Attribute
{
private readonly String _version;
/// <summary>
/// Initializes a new instance of the AssemblyFileVersionAttribute class, specifying the file version.
/// </summary>
/// <param name="version">The file version.</param>
/// <exception cref="ArgumentNullException">version is null</exception>
public AssemblyFileVersionAttribute(String version)
{
if (version == null) throw new ArgumentNullException("version");
_version = version;
}
[CLSCompliant(false)]
public uint Flags
{
get { return (uint)_flags; }
}
/// <summary>
/// Initializes a new instance of the AssemblyFlagsAttribute class with the specified combination of AssemblyNameFlags flags.
/// </summary>
/// <param name="assemblyFlags">A bitwise combination of AssemblyNameFlags flags representing just-in-time (JIT) compiler options, longevity, whether an assembly is retargetable, and whether it has a full or tokenized public key.</param>
public AssemblyFlagsAttribute(AssemblyNameFlags assemblyFlags)
{
_flags = assemblyFlags;
}
}
/// <summary>
/// Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyFileVersionAttribute : Attribute
{
private readonly String _version;
/// <summary>
/// Initializes a new instance of the AssemblyFileVersionAttribute class, specifying the file version.
/// </summary>
/// <param name="version">The file version.</param>
/// <exception cref="ArgumentNullException">version is null</exception>
public AssemblyFileVersionAttribute(String version)
{
if (version == null) throw new ArgumentNullException("version");
_version = version;
}
/// <summary>
/// Gets the Win32 file version resource name.
/// </summary>
/// <value>
/// A string containing the file version resource name.
/// </value>
public String Version
{
get { return _version; }
}
}
}
public String Version
{
get { return _version; }
}
}
}

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

@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoreLibrary", "CoreLibrary.csproj", "{5228FA24-C912-44F0-96E4-F8CAB9307265}"
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "CoreLibrary", "CoreLibrary.nfproj", "{BE7B95D5-087C-45F8-8197-4B438BEDFE11}"
EndProject
Project("{5DD5E4FA-CB73-4610-85AB-557B54E96AA9}") = "nanoFramework.CoreLibrary", "Nuget.CoreLibrary\nanoFramework.CoreLibrary.nuproj", "{96EABA11-6A33-454D-A7B2-B96CA5617E8C}"
EndProject
@ -14,6 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{FB18B7
packages.config = packages.config
EndProjectSection
EndProject
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -22,8 +23,8 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5228FA24-C912-44F0-96E4-F8CAB9307265}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5228FA24-C912-44F0-96E4-F8CAB9307265}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5228FA24-C912-44F0-96E4-F8CAB9307265}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5228FA24-C912-44F0-96E4-F8CAB9307265}.Release|Any CPU.Build.0 = Release|Any CPU
{5228FA24-C912-44F0-96E4-F8CAB9307265}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{5228FA24-C912-44F0-96E4-F8CAB9307265}.Release|Any CPU.Build.0 = Debug|Any CPU
{96EABA11-6A33-454D-A7B2-B96CA5617E8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{96EABA11-6A33-454D-A7B2-B96CA5617E8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{96EABA11-6A33-454D-A7B2-B96CA5617E8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -32,6 +33,10 @@ Global
{8FD36AD6-387C-48F0-A695-52D9149216FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8FD36AD6-387C-48F0-A695-52D9149216FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8FD36AD6-387C-48F0-A695-52D9149216FB}.Release|Any CPU.Build.0 = Release|Any CPU
{BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

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

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="nanoFramework.Tools.MSBuildSystem" version="1.0.0-preview0039" targetFramework="net46" />
<package id="NuProj" version="0.11.14-beta" developmentDependency="true" />
<package id="NuProj.Common" version="0.11.14-beta" targetFramework="net46" developmentDependency="true" />
<package id="NuProj" version="0.11.28-beta" developmentDependency="true" />
<package id="NuProj.Common" version="0.11.28-beta" developmentDependency="true" />
</packages>

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

@ -1,198 +1,198 @@
//
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
using System;
using System.Runtime.CompilerServices;
namespace Windows.Devices.Gpio
{
/// <summary>
/// Represents a general-purpose I/O (GPIO) pin.
/// </summary>
public sealed class GpioPin : IDisposable
{
//
// Copyright (c) 2017 The nanoFramework project contributors
// See LICENSE file in the project root for full license information.
//
using System;
using System.Runtime.CompilerServices;
namespace Windows.Devices.Gpio
{
/// <summary>
/// Represents a general-purpose I/O (GPIO) pin.
/// </summary>
public sealed class GpioPin : IDisposable
{
[MethodImpl(MethodImplOptions.InternalCall)]
private extern bool NativeIsDriveModeSupported(byte driveMode);
private extern bool NativeIsDriveModeSupported(byte driveMode);
[MethodImpl(MethodImplOptions.InternalCall)]
private extern GpioPinValue NativeRead(int pinNumber);
private extern GpioPinValue NativeRead(int pinNumber);
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void NativeWrite(int pinNumber, byte value);
private extern void NativeWrite(int pinNumber, byte value);
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void NativeSetDriveMode(int pinNumber, byte driveMode);
private readonly int _pinNumber;
private GpioPinDriveMode _driveMode = GpioPinDriveMode.Input;
internal GpioPin(int pinNumber)
{
_pinNumber = pinNumber;
}
/// <summary>
/// Gets or sets the debounce timeout for the general-purpose I/O (GPIO) pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events.
/// </summary>
/// <value>
/// The debounce timeout for the GPIO pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events.
/// If the length of this interval is 0, all changes to the value of the pin generate ValueChanged events.
/// </value>
private extern void NativeSetDriveMode(int pinNumber, byte driveMode);
private readonly int _pinNumber;
private GpioPinDriveMode _driveMode = GpioPinDriveMode.Input;
internal GpioPin(int pinNumber)
{
_pinNumber = pinNumber;
}
/// <summary>
/// Gets or sets the debounce timeout for the general-purpose I/O (GPIO) pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events.
/// </summary>
/// <value>
/// The debounce timeout for the GPIO pin, which is an interval during which changes to the value of the pin are filtered out and do not generate ValueChanged events.
/// If the length of this interval is 0, all changes to the value of the pin generate ValueChanged events.
/// </value>
public extern TimeSpan DebounceTimeout
{
{
[MethodImpl(MethodImplOptions.InternalCall)]
get;
get;
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
/// <summary>
/// Gets the pin number of the general-purpose I/O (GPIO) pin.
/// </summary>
/// <value>
/// The pin number of the GPIO pin.
/// </value>
public int PinNumber {
get
{
// check if pin has been disposed
if (!_disposedValue) { return _pinNumber; }
throw new ObjectDisposedException();
}
}
/// <summary>
/// Gets the sharing mode in which the general-purpose I/O (GPIO) pin is open.
/// </summary>
/// <value>
/// The sharing mode in which the GPIO pin is open.
/// </value>
public GpioSharingMode SharingMode
{
get
{
// at this time pins can't be shared, use is exclusive exclusive (pun intended!)
return GpioSharingMode.Exclusive;
}
}
/// <summary>
/// Gets the current drive mode for the general-purpose I/O (GPIO) pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
/// </summary>
/// <returns>An enumeration value that indicates the current drive mode for the GPIO pin.
/// The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.</returns>
public GpioPinDriveMode GetDriveMode()
{
return _driveMode;
}
/// <summary>
/// Gets whether the general-purpose I/O (GPIO) pin supports the specified drive mode.
/// </summary>
/// <param name="driveMode">The drive mode that you want to check for support.</param>
/// <returns>
/// True if the GPIO pin supports the drive mode that driveMode specifies; otherwise false.
/// If you specify a drive mode for which this method returns false when you call <see cref="SetDriveMode"/>, <see cref="SetDriveMode"/> generates an exception.
/// </returns>
public bool IsDriveModeSupported(GpioPinDriveMode driveMode)
{
return NativeIsDriveModeSupported ((byte) driveMode);
}
/// <summary>
/// Reads the current value of the general-purpose I/O (GPIO) pin.
/// </summary>
/// <returns>The current value of the GPIO pin. If the pin is configured as an output, this value is the last value written to the pin.</returns>
public GpioPinValue Read()
{
return NativeRead(_pinNumber);
}
/// <summary>
/// Sets the drive mode of the general-purpose I/O (GPIO) pin.
/// The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
/// </summary>
/// <param name="value">An enumeration value that specifies drive mode to use for the GPIO pin.
/// The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.</param>
/// <remarks>The following exceptions can be thrown by this method:
/// <list type="bullet">
/// <item><term>E_INVALIDARG : The GPIO pin does not support the specified drive mode.</term></item>
/// <item><term>E_ACCESSDENIED : The pin is open in shared read-only mode.Close the pin and reopen it in exclusive mode to change the drive mode of the pin.</term></item>
/// </list>
/// </remarks>
public void SetDriveMode(GpioPinDriveMode value)
{
if (_driveMode == value) return;
if (IsDriveModeSupported(value))
{
NativeSetDriveMode(_pinNumber, (byte) value);
_driveMode = value;
}
}
/// <summary>
/// Drives the specified value onto the general purpose I/O (GPIO) pin according to the current drive mode for the pin
/// if the pin is configured as an output, or updates the latched output value for the pin if the pin is configured as an input.
/// </summary>
/// <param name="value">The enumeration value to write to the GPIO pin.
/// <para>If the GPIO pin is configured as an output, the method drives the specified value onto the pin according to the current drive mode for the pin.</para>
/// <para>If the GPIO pin is configured as an input, the method updates the latched output value for the pin. The latched output value is driven onto the pin when the configuration for the pin changes to output.</para>
/// </param>
/// <remarks>The following exceptions can be thrown by this method:
/// <list type="bullet">
/// <item><term>E_ACCESSDENIED : The GPIO pin is open in shared read-only mode. To write to the pin, close the pin and reopen the pin in exclusive mode.</term></item>
/// </list>
/// </remarks>
public void Write(GpioPinValue value)
{
NativeWrite(_pinNumber, (byte)value);
}
#region IDisposable Support
private bool _disposedValue; // To detect redundant calls
private void Dispose(bool disposing)
{
if (!_disposedValue)
{
if (disposing)
{
DisposeNative();
}
// TODO: free unmanaged resources (unmanaged objects) and override a finalizer below.
// TODO: set large fields to null.
_disposedValue = true;
}
}
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void DisposeNative();
set;
}
/// <summary>
/// Gets the pin number of the general-purpose I/O (GPIO) pin.
/// </summary>
/// <value>
/// The pin number of the GPIO pin.
/// </value>
public int PinNumber {
get
{
// check if pin has been disposed
if (!_disposedValue) { return _pinNumber; }
throw new ObjectDisposedException();
}
}
/// <summary>
/// Gets the sharing mode in which the general-purpose I/O (GPIO) pin is open.
/// </summary>
/// <value>
/// The sharing mode in which the GPIO pin is open.
/// </value>
public GpioSharingMode SharingMode
{
get
{
// at this time pins can't be shared, use is exclusive exclusive (pun intended!)
return GpioSharingMode.Exclusive;
}
}
/// <summary>
/// Gets the current drive mode for the general-purpose I/O (GPIO) pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
/// </summary>
/// <returns>An enumeration value that indicates the current drive mode for the GPIO pin.
/// The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.</returns>
public GpioPinDriveMode GetDriveMode()
{
return _driveMode;
}
/// <summary>
/// Gets whether the general-purpose I/O (GPIO) pin supports the specified drive mode.
/// </summary>
/// <param name="driveMode">The drive mode that you want to check for support.</param>
/// <returns>
/// True if the GPIO pin supports the drive mode that driveMode specifies; otherwise false.
/// If you specify a drive mode for which this method returns false when you call <see cref="SetDriveMode"/>, <see cref="SetDriveMode"/> generates an exception.
/// </returns>
public bool IsDriveModeSupported(GpioPinDriveMode driveMode)
{
return NativeIsDriveModeSupported ((byte) driveMode);
}
/// <summary>
/// Reads the current value of the general-purpose I/O (GPIO) pin.
/// </summary>
/// <returns>The current value of the GPIO pin. If the pin is configured as an output, this value is the last value written to the pin.</returns>
public GpioPinValue Read()
{
return NativeRead(_pinNumber);
}
/// <summary>
/// Sets the drive mode of the general-purpose I/O (GPIO) pin.
/// The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.
/// </summary>
/// <param name="value">An enumeration value that specifies drive mode to use for the GPIO pin.
/// The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.</param>
/// <remarks>The following exceptions can be thrown by this method:
/// <list type="bullet">
/// <item><term>E_INVALIDARG : The GPIO pin does not support the specified drive mode.</term></item>
/// <item><term>E_ACCESSDENIED : The pin is open in shared read-only mode.Close the pin and reopen it in exclusive mode to change the drive mode of the pin.</term></item>
/// </list>
/// </remarks>
public void SetDriveMode(GpioPinDriveMode value)
{
if (_driveMode == value) return;
if (IsDriveModeSupported(value))
{
NativeSetDriveMode(_pinNumber, (byte) value);
_driveMode = value;
}
}
/// <summary>
/// Drives the specified value onto the general purpose I/O (GPIO) pin according to the current drive mode for the pin
/// if the pin is configured as an output, or updates the latched output value for the pin if the pin is configured as an input.
/// </summary>
/// <param name="value">The enumeration value to write to the GPIO pin.
/// <para>If the GPIO pin is configured as an output, the method drives the specified value onto the pin according to the current drive mode for the pin.</para>
/// <para>If the GPIO pin is configured as an input, the method updates the latched output value for the pin. The latched output value is driven onto the pin when the configuration for the pin changes to output.</para>
/// </param>
/// <remarks>The following exceptions can be thrown by this method:
/// <list type="bullet">
/// <item><term>E_ACCESSDENIED : The GPIO pin is open in shared read-only mode. To write to the pin, close the pin and reopen the pin in exclusive mode.</term></item>
/// </list>
/// </remarks>
public void Write(GpioPinValue value)
{
NativeWrite(_pinNumber, (byte)value);
}
#region IDisposable Support
private bool _disposedValue; // To detect redundant calls
private void Dispose(bool disposing)
{
if (!_disposedValue)
{
if (disposing)
{
DisposeNative();
}
// TODO: free unmanaged resources (unmanaged objects) and override a finalizer below.
// TODO: set large fields to null.
_disposedValue = true;
}
}
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void DisposeNative();
/// <summary>
/// Finalizes the instance of the <see cref="GpioPin"/> class.
/// </summary>
~GpioPin()
{
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
Dispose(false);
}
// This code added to correctly implement the disposable pattern.
void IDisposable.Dispose()
{
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
Dispose(true);
GC.SuppressFinalize(this);
}
#endregion
}
}
~GpioPin()
{
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
Dispose(false);
}
// This code added to correctly implement the disposable pattern.
void IDisposable.Dispose()
{
// Do not change this code. Put cleanup code in Dispose(bool disposing) above.
Dispose(true);
GC.SuppressFinalize(this);
}
#endregion
}
}

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

@ -33,19 +33,16 @@
<Link>content\disasm\%(RecursiveDir)%(Filename)%(Extension)</Link>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Windows.Devices.Gpio.csproj" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>8FD36AD6-387C-48F0-A695-52D9149216FB</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<NuProjPath>..\packages\NuProj.0.11.14-beta\tools\</NuProjPath>
<NuProjPath>..\packages\NuProj.0.11.28-beta\tools\</NuProjPath>
</PropertyGroup>
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" />
<PropertyGroup Label="Configuration">
<Id>nanoFramework.Windows.Devices.Gpio.DELIVERABLES</Id>
<Version>1.0.0-preview004</Version>
<Version>1.0.0-preview005</Version>
<Title>nanoFramework.Windows.Devices.Gpio.DELIVERABLES</Title>
<Authors>nanoFramework project contributors</Authors>
<Owners>nanoFramework project contributors</Owners>

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

@ -11,18 +11,35 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Windows.Devices.Gpio.csproj" />
<Content Include="..\obj\Release\Windows.Devices.Gpio.dll">
<Link>lib\Windows.Devices.Gpio.dll</Link>
</Content>
<Content Include="..\obj\Release\Windows.Devices.Gpio.pdb">
<Link>lib\Windows.Devices.Gpio.pdb</Link>
</Content>
<Content Include="..\obj\Release\Windows.Devices.Gpio.pdbx">
<Link>lib\Windows.Devices.Gpio.pdbx</Link>
</Content>
<Content Include="..\obj\Release\Windows.Devices.Gpio.pe">
<Link>lib\Windows.Devices.Gpio.pe</Link>
</Content>
<Content Include="..\bin\$(Configuration)\Windows.Devices.Gpio.xml">
<Link>lib\Windows.Devices.Gpio.xml</Link>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="lib\" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>96eaba11-6a33-454d-a7b2-b96ca5617e8c</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<NuProjPath>..\packages\NuProj.0.11.14-beta\tools\</NuProjPath>
<NuProjPath>..\packages\NuProj.0.11.28-beta\tools\</NuProjPath>
</PropertyGroup>
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" />
<PropertyGroup Label="Configuration">
<Id>nanoFramework.Windows.Devices.Gpio</Id>
<Version>1.0.0-preview004</Version>
<Version>1.0.0-preview005</Version>
<Title>nanoFramework.Windows.Devices.Gpio</Title>
<Authors>nanoFramework project contributors</Authors>
<Owners>nanoFramework project contributors</Owners>
@ -34,7 +51,7 @@
<LicenseUrl>
</LicenseUrl>
<Copyright>Copyright (c) 2017 The nanoFramework project contributors</Copyright>
<Tags>nanoFramework C# csharp netmf netnd mscorlib</Tags>
<Tags>nanoFramework C# csharp netmf netnd Windows.Devices.Gpio</Tags>
<IconUrl>https://secure.gravatar.com/avatar/97d0e092247f0716db6d4b47b7d1d1ad</IconUrl>
<GenerateSymbolPackage>false</GenerateSymbolPackage>
</PropertyGroup>

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

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Reference Include="mscorlib">
<HintPath>$(MSBuildThisFileDirectory)mscorlib.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<!-- need this here because MSBuild insists on copying mscorlib to output folder because it holds the types that are referenced -->
<Target Name="AfterBuild">
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.dll')" Files="$(ProjectDir)$(OutDir)mscorlib.dll" />
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.pe')" Files="$(ProjectDir)$(OutDir)mscorlib.pe" />
<Delete Condition="Exists('$(ProjectDir)$(OutDir)mscorlib.pdbx')" Files="$(ProjectDir)$(OutDir)mscorlib.pdbx" />
</Target>
</Project>

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

@ -1,4 +1,6 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
@ -8,6 +10,11 @@
[assembly: AssemblyProduct("Windows.Devices.Gpio")]
[assembly: AssemblyCopyright("Copyright © nanoFrameowrk Contributors 2017")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
@ -15,5 +22,8 @@
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

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

@ -1,109 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props" Condition="Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props')" />
<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>{D160797C-52FF-4136-93E1-DA1106B8AE4A}</ProjectGuid>
<OutputType>Library</OutputType>
<AssemblyName>Windows.Devices.Gpio</AssemblyName>
<RootNamespace>
</RootNamespace>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFrameworkIdentifier>
</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<RuntimeMetadataVersion>$(RuntimeMetadataVersion)</RuntimeMetadataVersion>
<!-- This prevents the default MsBuild targets from referencing System.Core.dll -->
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
<!-- These prevent the default MsBuild targets from referencing System.dll and mscorlib.dll -->
<NoStdLib>true</NoStdLib>
<NoCompilerStandardLib>true</NoCompilerStandardLib>
<UseVSHostingProcess>False</UseVSHostingProcess>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsCoreAssembly>true</IsCoreAssembly>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<NF_IsCoreLibrary>True</NF_IsCoreLibrary>
</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>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\Debug\Windows.Devices.Gpio.xml</DocumentationFile>
</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>
<DocumentationFile>bin\Release\Windows.Devices.Gpio.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<DelaySign>false</DelaySign>
</PropertyGroup>
<PropertyGroup>
<!-- override default options for MetaDataProcessor -->
<!-- generate PE: TRUE -->
<NFMDP_PE_SKIP>false</NFMDP_PE_SKIP>
<NFMDP_PE_Verbose>true</NFMDP_PE_Verbose>
<NFMDP_PE_VerboseMinimize>true</NFMDP_PE_VerboseMinimize>
<!-- generate STUBS: TRUE -->
<NFMDP_STUB_SKIP>false</NFMDP_STUB_SKIP>
<!-- we like verbose -->
<NFMDP_STUB_Verbose>true</NFMDP_STUB_Verbose>
<NFMDP_STUB_VerboseMinimize>true</NFMDP_STUB_VerboseMinimize>
<NFMDP_STUB_GenerateSkeletonFile>Stubs\windows_devices_gpio_native</NFMDP_STUB_GenerateSkeletonFile>
<NFMDP_STUB_GenerateSkeletonProject>Windows_Devices_Gpio</NFMDP_STUB_GenerateSkeletonProject>
<NFMDP_CMD_LINE_OUTPUT>false</NFMDP_CMD_LINE_OUTPUT>
</PropertyGroup>
<ItemGroup>
<None Include="key.snk" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="GpioSharingMode.cs" />
<Compile Include="GpioPinValue.cs" />
<Compile Include="GpioPinEdge.cs" />
<Compile Include="GpioPinDriveMode.cs" />
<Compile Include="GpioOpenStatus.cs" />
<Compile Include="GpioChangePolarity.cs" />
<Compile Include="GpioChangeCount.cs" />
<Compile Include="GpioChangeCounter.cs" />
<Compile Include="GpioChangeReader.cs" />
<Compile Include="GpioChangeRecord.cs" />
<Compile Include="GpioController.cs" />
<Compile Include="GpioPin.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets'))" />
<Error Condition="!Exists('packages\nanoFramework.CoreLibrary.1.0.0-preview016\build\nanoFramework.CoreLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\nanoFramework.CoreLibrary.1.0.0-preview016\build\nanoFramework.CoreLibrary.targets'))" />
<Error Condition="!Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.props'))" />
<Error Condition="!Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets'))" />
</Target>
<Import Project="packages\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets" Condition="Exists('packages\NuProj.Common.0.11.14-beta\build\dotnet\NuProj.Common.targets')" />
<Import Project="packages\nanoFramework.CoreLibrary.1.0.0-preview016\build\nanoFramework.CoreLibrary.targets" Condition="Exists('packages\nanoFramework.CoreLibrary.1.0.0-preview016\build\nanoFramework.CoreLibrary.targets')" />
<Import Project="packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets" Condition="Exists('packages\nanoFramework.Tools.MSBuildSystem.1.0.0-preview0039\build\nanoFramework.Tools.MSBuildSystem.targets')" />
</Project>

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

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>2fc2fdb5-dcec-4b99-b9ad-5e45ced385e5</ProjectGuid>
<OutputType>Library</OutputType>
<FileAlignment>512</FileAlignment>
<RootNamespace>
</RootNamespace>
<AssemblyName>Windows.Devices.Gpio</AssemblyName>
<NFTargetVersion>v1.0</NFTargetVersion>
<DocumentationFile>bin\$(Configuration)\Windows.Devices.Gpio.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<DelaySign>false</DelaySign>
</PropertyGroup>
<PropertyGroup>
<!-- override default options for MetaDataProcessor -->
<!-- generate PE: TRUE -->
<NFMDP_PE_SKIP>false</NFMDP_PE_SKIP>
<NFMDP_PE_Verbose>true</NFMDP_PE_Verbose>
<NFMDP_PE_VerboseMinimize>true</NFMDP_PE_VerboseMinimize>
<!-- generate STUBS: TRUE -->
<NFMDP_STUB_SKIP>false</NFMDP_STUB_SKIP>
<!-- we like verbose -->
<NFMDP_STUB_Verbose>true</NFMDP_STUB_Verbose>
<NFMDP_STUB_VerboseMinimize>true</NFMDP_STUB_VerboseMinimize>
<NFMDP_STUB_GenerateSkeletonFile>Stubs\windows_devices_gpio_native</NFMDP_STUB_GenerateSkeletonFile>
<NFMDP_STUB_GenerateSkeletonProject>Windows_Devices_Gpio</NFMDP_STUB_GenerateSkeletonProject>
<NFMDP_CMD_LINE_OUTPUT>true</NFMDP_CMD_LINE_OUTPUT>
<Name>Windows.Devices.Gpio</Name>
</PropertyGroup>
<ItemGroup>
<NFMDP_PE_LoadHints Include="$(MSBuildThisFileDirectory)mscorlib.dll">
<InProject>false</InProject>
</NFMDP_PE_LoadHints>
</ItemGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
<ItemGroup>
<Compile Include="GpioChangePolarity.cs" />
<Compile Include="GpioOpenStatus.cs" />
<Compile Include="GpioPinDriveMode.cs" />
<Compile Include="GpioPinEdge.cs" />
<Compile Include="GpioPinValue.cs" />
<Compile Include="GpioSharingMode.cs" />
<Compile Include="GpioChangeCount.cs" />
<Compile Include="GpioChangeCounter.cs" />
<Compile Include="GpioChangeReader.cs" />
<Compile Include="GpioChangeRecord.cs" />
<Compile Include="GpioController.cs" />
<Compile Include="GpioPin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\Windows.Devices.Gpio\packages\nanoFramework.CoreLibrary.1.0.0-preview020\lib\mscorlib.dll</HintPath>
<Private>True</Private>
<SpecificVersion>True</SpecificVersion>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="key.snk" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
<ProjectExtensions>
<ProjectCapabilities>
<ProjectConfigurationsDeclaredAsItems />
</ProjectCapabilities>
</ProjectExtensions>
</Project>

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

@ -1,13 +1,19 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows.Devices.Gpio", "Windows.Devices.Gpio.csproj", "{D160797C-52FF-4136-93E1-DA1106B8AE4A}"
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "Windows.Devices.Gpio", "Windows.Devices.Gpio.nfproj", "{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}"
EndProject
Project("{5DD5E4FA-CB73-4610-85AB-557B54E96AA9}") = "Nuget.Windows.Devices.Gpio", "Nuget.Windows.Devices.Gpio\Nuget.Windows.Devices.Gpio.nuproj", "{96EABA11-6A33-454D-A7B2-B96CA5617E8C}"
ProjectSection(ProjectDependencies) = postProject
{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5} = {2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}
EndProjectSection
EndProject
Project("{5DD5E4FA-CB73-4610-85AB-557B54E96AA9}") = "Nuget.Windows.Devices.Gpio.DELIVERABLES", "Nuget.Windows.Devices.Gpio.DELIVERABLES\Nuget.Windows.Devices.Gpio.DELIVERABLES.nuproj", "{8FD36AD6-387C-48F0-A695-52D9149216FB}"
ProjectSection(ProjectDependencies) = postProject
{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5} = {2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{E5DC0609-D746-4BBC-A4EB-01D2284D35F9}"
ProjectSection(SolutionItems) = preProject
@ -20,10 +26,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D160797C-52FF-4136-93E1-DA1106B8AE4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D160797C-52FF-4136-93E1-DA1106B8AE4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D160797C-52FF-4136-93E1-DA1106B8AE4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D160797C-52FF-4136-93E1-DA1106B8AE4A}.Release|Any CPU.Build.0 = Release|Any CPU
{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2FC2FDB5-DCEC-4B99-B9AD-5E45CED385E5}.Release|Any CPU.Build.0 = Release|Any CPU
{96EABA11-6A33-454D-A7B2-B96CA5617E8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{96EABA11-6A33-454D-A7B2-B96CA5617E8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{96EABA11-6A33-454D-A7B2-B96CA5617E8C}.Release|Any CPU.ActiveCfg = Release|Any CPU

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

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="nanoFramework.CoreLibrary" version="1.0.0-preview016" targetFramework="net46" />
<package id="nanoFramework.Tools.MSBuildSystem" version="1.0.0-preview0039" targetFramework="net46" />
<package id="NuProj" version="0.11.14-beta" developmentDependency="true" />
<package id="NuProj.Common" version="0.11.14-beta" targetFramework="net46" developmentDependency="true" />
<package id="nanoFramework.CoreLibrary" version="1.0.0-preview020" />
<package id="NuProj" version="0.11.28-beta" developmentDependency="true" />
<package id="NuProj.Common" version="0.11.28-beta" developmentDependency="true" />
</packages>

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

@ -3,6 +3,8 @@ pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
clone_depth: 1
install:
- ps: .\install-vsix-appveyor.ps1
build_script:
- ps: >-

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

@ -0,0 +1,4 @@
$vsixPath = "$($env:USERPROFILE)\nanoFramework.Tools.VS2017.Extension.vsix"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/18fe3370-32c4-49d6-bf02-1b0ab0b1e537/file/261095/11/nanoFramework.Tools.VS2017.Extension.vsix', $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