相关疑难解决方法(0)

我可以删除或移动文件夹NuGetFallbackFolder吗?

我可以删除文件夹C:\Program Files\dotnet\sdk\NuGetFallbackFolder\或将其移动到其他文件夹吗?(最好不在C盘中)

如果可以删除,如何删除?直接删除文件夹?有副作用或损害吗?

如果可以移动,该如何移动?目标文件夹像D:\NuGetFallbackFolder什么?我该怎么做?

.net-core

10
推荐指数
1
解决办法
6526
查看次数

生成错误:JsonException:“0x00”是值的无效开头

将 .NET FW 6 与 VS 2022 一起使用。当我尝试构建我的项目时,我收到此错误......

JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](ReadOnlySpan`1 utf8Json, JsonSerializerOptions options)
   at Microsoft.AspNetCore.Razor.Tasks.StaticWebAssetsManifest.FromJsonBytes(Byte[] jsonBytes)
   at Microsoft.AspNetCore.Razor.Tasks.GenerateStaticWebAssetsManifest.PersistManifest(StaticWebAssetsManifest manifest)
   at Microsoft.AspNetCore.Razor.Tasks.GenerateStaticWebAssetsManifest.Execute()
JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes) …
Run Code Online (Sandbox Code Playgroud)

.net c# .net-6.0

2
推荐指数
1
解决办法
5582
查看次数

标签 统计

.net ×1

.net-6.0 ×1

.net-core ×1

c# ×1