-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from mkropat/dotnet-core
Support .NET Core
- Loading branch information
Showing
13 changed files
with
107 additions
and
283 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
67 changes: 8 additions & 59 deletions
67
MlkPwgen.FrequencyCounter/MlkPwgen.FrequencyCounter.csproj
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,66 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{5D770642-8B48-406D-B663-C4B8F96574FB}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>MlkPwgen.FrequencyCounter</RootNamespace> | ||
<AssemblyName>MlkPwgen.FrequencyCounter</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<TargetFrameworks>net45;netstandard1.4</TargetFrameworks> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<CodeAnalysisRuleSet>..\MlkPwgen\MlkPwgen.ruleset</CodeAnalysisRuleSet> | ||
<RunCodeAnalysis>true</RunCodeAnalysis> | ||
<DocumentationFile>bin\Debug\MlkPwgen.FrequencyCounter.XML</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="TrigramFrequencySerializer.cs" /> | ||
<Compile Include="TrigramFrequencyCounter.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\MlkPwgen\MlkPwgen.csproj"> | ||
<Project>{545c3ffa-7a76-4acc-99e0-18460552725c}</Project> | ||
<Name>MlkPwgen</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\MlkPwgen\MlkPwgen.csproj" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
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
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,84 +1,48 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{545C3FFA-7A76-4ACC-99E0-18460552725C}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>MlkPwgen</RootNamespace> | ||
<AssemblyName>MlkPwgen</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
<Authors>Michael Kropat</Authors> | ||
<Copyright>Copyright 2017</Copyright> | ||
<Description>Secure random password generator. | ||
Uses a cryptographically secure PRNG | ||
Can guarantee that the password contains digits, special characters, or any other set | ||
Can generate pronounceable, easier-to-remember passwords | ||
Packaged as a .NET library and as a PowerShell module | ||
API Documentation available at the project site</Description> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<PackageId>MlkPwgen</PackageId> | ||
<PackageLicenseUrl>https://github.com/mkropat/MlkPwgen/blob/master/LICENSE.txt</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/mkropat/MlkPwgen</PackageProjectUrl> | ||
<PackageReleaseNotes></PackageReleaseNotes> | ||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> | ||
<PackageTags>random password generator pronounceable</PackageTags> | ||
<PackageVersion>0.3.0</PackageVersion> | ||
<Summary>Secure random password generator</Summary> | ||
<TargetFrameworks>net45;netstandard1.4</TargetFrameworks> | ||
<Title>MlkPwgen</Title> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<RunCodeAnalysis>true</RunCodeAnalysis> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<CodeAnalysisRuleSet>MlkPwgen.ruleset</CodeAnalysisRuleSet> | ||
<DocumentationFile>bin\Debug\MlkPwgen.XML</DocumentationFile> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net45|AnyCPU'"> | ||
<DocumentationFile>bin\Release\net45\MlkPwgen.xml</DocumentationFile> | ||
<NoWarn>1591;1701;1702;1705</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<CodeAnalysisRuleSet>MlkPwgen.ruleset</CodeAnalysisRuleSet> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard1.4|AnyCPU'"> | ||
<DocumentationFile>bin\Release\netstandard1.4\MlkPwgen.xml</DocumentationFile> | ||
<NoWarn>1591;1701;1702;1705</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Sets.cs" /> | ||
<Compile Include="CryptoServiceRandom.cs" /> | ||
<Compile Include="EmbeddedTrigramStatistics.cs" /> | ||
<Compile Include="ITrigramStatistics.cs" /> | ||
<Compile Include="PasswordGenerator.cs" /> | ||
<Compile Include="PronounceableGenerator.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Random.cs" /> | ||
<Compile Include="SerializableTrigramStatistics.cs" /> | ||
<Compile Include="WeightedItem.cs" /> | ||
<None Remove="TrigramStatistics.json.gz" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Include="TrigramStatistics.json.gz" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="MlkPwgen.nuspec" /> | ||
<None Include="MlkPwgen.ruleset" /> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)'=='netstandard1.4'"> | ||
<PackageReference Include="System.Runtime.Serialization.Json" Version="4.3.0" /> | ||
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'"> | ||
<ItemGroup> | ||
<ModuleFiles Include="$(ProjectDir)\..\Powershell\*.*" /> | ||
</ItemGroup> | ||
<Exec Command="nuget pack MlkPwgen.csproj -Prop Configuration=Release"></Exec> | ||
<Copy SourceFiles="@(ModuleFiles)" DestinationFolder="$(OutputPath)" /> | ||
</Target> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.