Skip to content

Commit

Permalink
Fixes weird js reference as described in #55 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tewr authored Aug 20, 2019
1 parent 9ad1b42 commit 77cb336
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions src/Blazor.FileReader/Blazor.FileReader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>library</OutputType>
<IsPackable>true</IsPackable>
<BlazorLinkOnBuild>true</BlazorLinkOnBuild>
<TypeScriptToolsVersion>2.8</TypeScriptToolsVersion>
<LangVersion>latest</LangVersion>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Version>0.14.19226</Version>
<Version>0.14.19233</Version>
<Authors>Tor Knutsson (Tewr)</Authors>
<PackageProjectUrl>https://github.com/Tewr/BlazorFileReader</PackageProjectUrl>
<RepositoryUrl>https://github.com/Tewr/BlazorFileReader</RepositoryUrl>
Expand All @@ -17,45 +15,35 @@
<Configurations>Debug;Release;Ghpages</Configurations>
<PackageId>Tewr.Blazor.FileReader</PackageId>
<PackageReleaseNotes></PackageReleaseNotes>
<AssemblyVersion>0.14.19226</AssemblyVersion>
<AssemblyVersion>0.14.19233</AssemblyVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIconUrl>https://raw.githubusercontent.com/Tewr/BlazorFileReader/master/icon.png</PackageIconUrl>
<RazorLangVersion>3.0</RazorLangVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn>1701;1702;NU5104</NoWarn>
</PropertyGroup>


<ItemGroup>
<!-- .js/.css files will be referenced via <script>/<link> tags; other content files will just be included in the app's 'dist' directory without any tags referencing them -->
<EmbeddedResource Include="wwwroot\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />

</ItemGroup>

<ItemGroup>
<EmbeddedResource Remove="script\FileReaderComponent.ts" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.0.0-preview8.19405.7" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.0.0-preview8.19405.4" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview8.19405.7" PrivateAssets="all" />
<PackageReference Include="Microsoft.TypeScript.Msbuild" Version="3.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<Content Include="script\*.*">
<Pack>false</Pack>
</Content>
</ItemGroup>

<ItemGroup>
<Content Update="tsconfig.json">
<Pack>false</Pack>
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
</ItemGroup>

</Project>

0 comments on commit 77cb336

Please sign in to comment.