Skip to content

Commit 36a11a6

Browse files
committed
Added new post
1 parent b93fe5b commit 36a11a6

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

app/src/code/posts/Posts.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const static_code_analyzer_use_it = require("./static_code_analyzer_use_it.txt")
1515
const tfs30063 = require("./tfs30063.txt");
1616
const firstRoslynAnalyzer = require("./first_roslyn_analyzer.txt");
1717
const dotnet_core_mailna = require("./dotnet_core_mailna.txt");
18+
const hostpolicy = require("./hostpolicy.txt");
1819

1920
export interface Post {
2021
postTitle : string,
@@ -36,6 +37,14 @@ export function instanceOfPost(any : any)
3637

3738

3839
const Posts : Post[] = [
40+
{
41+
postTitle: "The library 'hostpolicy.dll' required to execute the application was not found in Error",
42+
shortTitle: "hostpolicy",
43+
date: new Date(2020, 6, 10),
44+
iconUrl: Resources.notebook,
45+
author: "shoter",
46+
path: hostpolicy,
47+
},
3948
{
4049
postTitle: "How to install .NET Core 3.1 on raspbian 10",
4150
shortTitle: "dotnet_core_malina",

app/src/code/posts/hostpolicy.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# The library 'hostpolicy.dll' required to execute the application was not found in
2+
3+
I just had following error when building C# project:
4+
5+
```
6+
3>Cannot use stream for resource [C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0\Microsoft.NETCore.App.deps.json]: No such file or directory
7+
3>A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0'.
8+
```
9+
10+
It turned out that folder `C:\Program Files\dotnet\shared\Microsoft.NETCore.App\3.0.0` was empty and deleting folder helped.

rss/src/main.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ interface Post {
99
}
1010

1111
let posts : Post[] = [
12+
{
13+
title: "The library 'hostpolicy.dll' required to execute the application was not found in Error",
14+
id: "hostpolicy",
15+
description: "How to deal with the error in 1 particular situation. More info in post",
16+
date: new Date(2020, 6, 10),
17+
author: "shoter",
18+
}
1219
{
1320
title: "How to install .NET Core 3.1 on raspbian 10",
1421
id: "dotnet_core_malina",

0 commit comments

Comments
 (0)