Skip to content

Commit

Permalink
Migarting vue framework adapter to .NET Standard (as part of issue #58)
Browse files Browse the repository at this point in the history
  • Loading branch information
WAY2\david.desmaisons committed Jun 22, 2018
1 parent 69c9c70 commit a9623bd
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 152 deletions.
144 changes: 36 additions & 108 deletions JavascriptFramework/Vue/Neutronium.JavascriptFramework.Vue.csproj
Original file line number Diff line number Diff line change
@@ -1,106 +1,34 @@
<?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>{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFrameworks>net45;netstandard2.0;</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<RootNamespace>Neutronium.JavascriptFramework.Vue</RootNamespace>
<AssemblyName>Neutronium.JavascriptFramework.Vue</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<Authors>David Desmaisons</Authors>
<Version>1.3.1.0</Version>
<PackageProjectUrl>https://github.com/NeutroniumCore</PackageProjectUrl>
<RepositoryUrl>https://github.com/NeutroniumCore/Neutronium</RepositoryUrl>
<PackageLicenseUrl>https://github.com/NeutroniumCore/Neutronium/blob/master/LICENSE</PackageLicenseUrl>
<Description>Neutronium is a MVVM HTLM View engine for C# application. This is the javascript binding based on vue.js framework.</Description>
<PackageId>NNeutronium.JavascriptFramework.Vue</PackageId>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageTags>HTML, Chromium, MVVM, WPF, mobx</PackageTags>
<AssemblyVersion>1.3.1.0</AssemblyVersion>
<FileVersion>1.3.1.0</FileVersion>
<PackageReleaseNotes></PackageReleaseNotes>
<Platforms>AnyCPU;x86</Platforms>
</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>

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DefineConstants>TRACE;DEBUG</DefineConstants>
</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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="MoreCollection, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\MoreCollection.2.0.0\lib\net45\MoreCollection.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<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="Communication\IWebViewCommunication.cs" />
<Compile Include="Communication\MessageEvent.cs" />
<Compile Include="Communication\WebViewCommunication.cs" />
<Compile Include="Communication\WebViewListener.cs" />
<Compile Include="VueJavascriptSessionInjector.cs" />
<Compile Include="VueJavascriptViewModelUpdater.cs" />
<Compile Include="VueSessionInjector.cs" />
<Compile Include="VueSessionInjectorV2.cs" />
<Compile Include="VueSessionInjectorBase.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="VueVmUpdater.cs" />
<Compile Include="VueVersions.cs" />
<Compile Include="VueVmManager.cs" />
<PackageReference Include="MoreCollection" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Neutronium.Core\Neutronium.Core.csproj">
<Project>{9b18b122-a2fc-4537-ab68-5e1ec9959db8}</Project>
<Name>Neutronium.Core</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>

<ItemGroup>
<EmbeddedResource Include="scripts\vueGlue.js" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -207,7 +135,8 @@
</EmbeddedResource>
<EmbeddedResource Include="scripts\vue1\vueComandDirective.js" />
</ItemGroup>
<ItemGroup>

<ItemGroup>
<None Include="bundleconfig.json" />
<None Include="Communication\script\.eslintrc" />
<None Include="Communication\script\package.json" />
Expand Down Expand Up @@ -241,15 +170,14 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="DebugTools\About\styles.css.map" />
<None Include="packages.config" />
</ItemGroup>
<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>

<ItemGroup>
<ProjectReference Include="..\..\Neutronium.Core\Neutronium.Core.csproj" />
</ItemGroup>

</Project>




36 changes: 0 additions & 36 deletions JavascriptFramework/Vue/Properties/AssemblyInfo.cs

This file was deleted.

4 changes: 0 additions & 4 deletions JavascriptFramework/Vue/packages.config

This file was deleted.

8 changes: 4 additions & 4 deletions Neutronium.sln
Original file line number Diff line number Diff line change
Expand Up @@ -389,16 +389,16 @@ Global
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|Mixed Platforms.Build.0 = Debug|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|x64.ActiveCfg = Debug|x64
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|x64.Build.0 = Debug|x64
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|x64.ActiveCfg = Debug|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|x64.Build.0 = Debug|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|x86.ActiveCfg = Debug|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Debug|x86.Build.0 = Debug|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|Any CPU.Build.0 = Release|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|Mixed Platforms.ActiveCfg = Release|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|Mixed Platforms.Build.0 = Release|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|x64.ActiveCfg = Release|x64
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|x64.Build.0 = Release|x64
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|x64.ActiveCfg = Release|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|x64.Build.0 = Release|Any CPU
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|x86.ActiveCfg = Release|x86
{9E31DE95-4FBE-4D91-93CD-5CA14F6FD0FB}.Release|x86.Build.0 = Release|x86
{34B6AD94-23B2-4808-BB6D-988A063711D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
Expand Down

0 comments on commit a9623bd

Please sign in to comment.