![](/img/trans.png)
[英]Can't suppress CA1307 warning in Rider
我們有一個.editorconfig文件,它具有我們所有項目的編碼風格要求。 一部分團隊使用 Rider,另一部分使用 VS。 我試圖像這樣抑制 CA1307 警告: Visual Studio 可以很好地識別它,但 Rider 仍然將其顯示為警告。 它在我使用時被抑制了 這種奇怪的行為僅適用於此 ...
[英]Can't suppress CA1307 warning in Rider
我們有一個.editorconfig文件,它具有我們所有項目的編碼風格要求。 一部分團隊使用 Rider,另一部分使用 VS。 我試圖像這樣抑制 CA1307 警告: Visual Studio 可以很好地識別它,但 Rider 仍然將其顯示為警告。 它在我使用時被抑制了 這種奇怪的行為僅適用於此 ...
[英]How to set View.SynchronizeClassView hotkey in Rider?
有沒有辦法在Rider中為Visual Studio中的View.SynchronizeClassView對應的function設置熱鍵? 我想知道如何像該圖像中那樣設置 View.SynchronizeClassView 快捷方式。 在此處輸入圖像描述 ...
[英]Public variables created in Rider do not show up in Unity
我剛開始使用 Unity(VSC 附帶),但我在使用 JetBarin 產品(如 IntelliJ IDEA)時有更好的體驗,所以我轉而使用 Rider。 但是,我現在無法將公共變量(int、float、GameObject)連接到我的 Unity 項目。 我嘗試更新 Rider 並更改一些設置,但 ...
[英]How do I search for class constructors using R# Search Anywhere (Ctrl+T)?
如何使用 R# Search Anywhere 搜索 class 構造函數? 我試過className.className但沒有成功。 ...
[英]Cannot run project on C# in Rider when Visual Studio can
目前我正在使用 CefSharp.OffScreen.NETCore 開發新項目,但我在 Rider 中運行它時遇到了問題。 項目構建成功,但在運行時出現此異常: System.BadImageFormatException:無法加載文件或程序集“CefSharp.Core.Runtime,Ver ...
[英]Like bundle plugin in visual studio 2022 Are there any plugins available for Rider as well?
就像 visual studio 2022 中的 bundle 插件 ( https://github.com/failwyn/BundlerMinifier ) 是否也有適用於 Rider 的插件? 如果我的項目中有一個 bundleconfig.json 文件, 每當我編輯源代碼時,我都需要一 ...
[英]How to change severity of lack of using statement in Jetbrains Rider?
如何更改put into 'using' statement建議的嚴重性? 我想將其視為警告。 目前它僅可用作上下文操作。 我嘗試在Editor > Inspection Settings > Inspection Severity > C#和Jetbrains docs中搜索 ...
[英]How to Remove "Throw new System.NotImplementedException()" lane, when implement an interface in Rider?
我使用Jet Brains Rider編譯器,我想刪除與實現相關的默認通道。 因為在某些實現中,方法數量很多,如果不刪除,在Unity中會報錯。 如果您知道此設置的地址,請幫助。public class CharacterA : MonoBehaviour, ICharacterControlle ...
[英]Build Errors that only appear when building with Rider or resharper build
更新: 我剛剛使用 reSharper build 遇到了相同的構建錯誤,並且在切換到 vs build 后代碼構建成功。 所以這不僅僅是與 Rider 相關,我正在更新標題。 我在youtrack上找到了這張票,這個問題7年都沒有解決! https://youtrack.jetbrains.co ...
[英]Microsoft.Extensions.DependencyInjection: DI'd code runs fine on dotnet CLI / Rider default .NET profile, but crashes VS2022
許多用戶報告了在我們的一個 OSS 存儲庫中運行一個非常基本的示例項目的錯誤: https://github.com/akkado.net/Akka.Hosting/issues/179 示例代碼如下所示: 觸發失敗的關鍵行(只是有時:)在這里: resolver.Props<TActo ...
[英]MSBuild can't exec command `npm i` while compiling a project in Rider/Visual Studio
我需要使用 Visual Studio for Mac 或 Jetbrains Rider 在 Mac 中構建和運行 .NET 5 項目。 在解決方案中其中一個項目的csproj文件中,我有以下目標: 當我運行dotnet build或dotnet msbuild項目構建時很好,但是在 VS/Ri ...
[英]Rider: set namespace autofill as absolute namespace instead relative
當我使用新類時,Rider 使用相對名稱空間導入文件,是否有一個選項可以將 Rider 設置為使用絕對名稱空間? 例如,相反 自動填充 ...
[英]Can't Setup Unreal Engine and Rider for Windows 11
我厭倦了配置如何安裝 Rider 並將其設置為正常工作首先,我在 C++ 工作負載中安裝了帶有游戲開發的 Visual Studio 2022 然后安裝虛幻引擎5.0.3 然后安裝 Rider 2022.2 並激活它然后在虛幻引擎的編輯器首選項的源代碼選項卡中將騎手設置為默認設置相同的解決方案或說 ...
[英]Edit files inside Resx in .Net
在 .net 應用程序中,我需要編輯放在資源文件 (resx) 中的 html 模板。 如果我從文件系統編輯文件並再次構建並運行我的應用程序,模板將不受影響。 即使我通過從 visual studio Resource visualizer 打開它進行編輯。 到目前為止我找到的唯一解決方案是從模板中 ...
[英]How to edit the auto format in JetBrains Rider?
我經常在 Rider IDE 中使用自動格式,但我不喜歡其中一些格式。 我已經檢查了Editor > Code Style > C#並搜索了互聯網但找不到所需的設置。 例如,這是我在自動格式化時想要的: 但是當我不想要的自動格式時它會像這樣改變: 有誰知道如何解決這個問題? ...
[英]Rider can't resolve symbol for UnityTest although the tests run (OSX, M1)
我最近開始遇到這個問題,雖然我的測試運行正常,但 Rider 忘記了對[UnityTest]屬性的引用。 它在 Rider 中顯示為錯誤,但在 Unity 中則沒有。 雖然命名空間已經導入,但在我快速修復引用后,錯誤會消失,但只會在下一次保存之前消失。 Mac 操作系統:文圖拉 13.0.1 騎士 ...
[英]Not able to install Nuget packages in Rider
我正在嘗試在 rider 中為 .Net Coren 應用程序安裝 Microsoft.Identity.Web Nuget 包。 但是,我收到以下錯誤: 我嘗試清除 Nuget 緩存並嘗試使緩存無效並重新啟動選項幾次,但它沒有用。 誰能幫幫我? ...
[英]Is there a feature in Rider similar to smart break line in Visual Studio?
我最近從 Visual Studio 轉移到 Rider for Unity 游戲開發。 與 Visual Studio 相比,Rider 使用起來感覺好多了,並且提供了更多的功能,但我對 Visual Studio 中的智能換行功能過於執着。 我試着環顧四周,但沒有在 Rider 中找到任何有希 ...
[英]Cannot find declaration to go in Rider Razor project
我已經克隆了一個包含.cshtml 和 DLL 文件的存儲庫,但是當右鍵單擊 + ctrl 顯示上面的消息並且在任何地方都沒有 go 時,很難提高工作效率。 嘗試從 C# 方法獲取建議時,Intellisense 也不起作用。 我嘗試通過單擊“使緩存無效”或刪除 .idea 文件夾來清除緩存,但無濟 ...
[英]Jetbrains Rider Projects compatible with Visual Studio?
當我使用 Jetbrains Rider 處理一個新的 C# 項目時,這個項目是否與 Visual Studio IDE 兼容? 我想在工作中使用Jetbrians Rider,但我的同事說只有Rider 項目兼容Visual Studio IDE 才能使用。 那么兼容嗎? ...