Skip to content

Commit 85d959f

Browse files
committed
fix: added fix via dotnet/aspnetcore/issues/41921
1 parent ca4fc80 commit 85d959f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
## dotnet-ts-colocation-issue
22

3+
**update**
4+
5+
The fix is adding this to the .csproj. Please see [https://github.com/dotnet/aspnetcore/issues/41921#issuecomment-1141158926](https://github.com/dotnet/aspnetcore/issues/41921#issuecomment-1141158926)
6+
7+
```xml
8+
<PropertyGroup>
9+
<PrepareForBuildDependsOn>GetTypeScriptOutputForPublishing;$(PrepareForBuildDependsOn)</PrepareForBuildDependsOn>
10+
</PropertyGroup>
11+
```
12+
13+
-------
314

415
I have a `dotnet new razor` project with `Microsoft.TypeScript.MSBuild` and `BuildBundlerMinifier` added so that I can write TypeScript first, then minify the compiled JavaScript further
516

0 commit comments

Comments
 (0)