Strange problem with resources - not seeing fieldsVisual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'What is the difference between a field and a property?The type or namespace name could not be foundLogin failed for user 'IIS APPPOOLASP.NET v4.0'Validation failed for one or more entities. See 'EntityValidationErrors' property for more detailsMultiple types were found that match the controller named 'Home'HttpClient.GetAsync(…) never returns when using await/asyncCould not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)Visual Studio debugging/loading very slowWhy not inherit from List<T>?

Does the Linux kernel need a file system to run?

Keeping a ball lost forever

Hero deduces identity of a killer

Calculating total slots

It grows, but water kills it

What should you do when eye contact makes your subordinate uncomfortable?

Angel of Condemnation - Exile creature with second ability

What if a revenant (monster) gains fire resistance?

Plot of a tornado-shaped surface

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Why is so much work done on numerical verification of the Riemann Hypothesis?

Biological Blimps: Propulsion

Did arcade monitors have same pixel aspect ratio as TV sets?

How do apertures which seem too large to physically fit work?

Has any country ever had 2 former presidents in jail simultaneously?

How can "mimic phobia" be cured or prevented?

Limits and Infinite Integration by Parts

Why is this estimator biased?

What is going on with 'gets(stdin)' on the site coderbyte?

15% tax on $7.5k earnings. Is that right?

Non-trope happy ending?

Lowest total scrabble score

Multiplicative persistence

What should you do if you miss a job interview (deliberately)?



Strange problem with resources - not seeing fields


Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'What is the difference between a field and a property?The type or namespace name could not be foundLogin failed for user 'IIS APPPOOLASP.NET v4.0'Validation failed for one or more entities. See 'EntityValidationErrors' property for more detailsMultiple types were found that match the controller named 'Home'HttpClient.GetAsync(…) never returns when using await/asyncCould not load file or assembly … An attempt was made to load a program with an incorrect format (System.BadImageFormatException)Visual Studio debugging/loading very slowWhy not inherit from List<T>?













0















I have resource file in my project, which contains translations. In my Resource folder I have Resource.en.resx and (default) Resource.resx.



Everything is working fine, except one thing:



It shows error only on one of my properties, which is defined in resources in exactly same way as the other:



enter image description here



Anyone had encountered that? And how to fix it? It looks like VS bug.










share|improve this question






















  • Right-click your Resources.resx and Run Custom Tool. Does that help? If it does, then I suspect either you hand-edited the resx and didn't re-run the C# code generation step (it's run when you use the editor in your right-hand screenshot, but not if you edit the file directly), or the relationship between the Resx and the tool got messed up in your csproj.

    – canton7
    yesterday











  • Wait, Languages.Resource isn't the default name for the generated C# class, it's normally Resources. Can you "Go To Definition" on Languages.Resource and just double-check what's there?

    – canton7
    yesterday











  • @canton7 It's just the reference and it works for other strings :)

    – Michał Turczyn
    yesterday











  • I just wanted to check that it has the structure of a file created by PublicResXFileCodeGenerator, and not some other tool, since it has the wrong name. If you want an answer, it's generally a good idea to respond positively to questions from the people trying to help you :)

    – canton7
    yesterday
















0















I have resource file in my project, which contains translations. In my Resource folder I have Resource.en.resx and (default) Resource.resx.



Everything is working fine, except one thing:



It shows error only on one of my properties, which is defined in resources in exactly same way as the other:



enter image description here



Anyone had encountered that? And how to fix it? It looks like VS bug.










share|improve this question






















  • Right-click your Resources.resx and Run Custom Tool. Does that help? If it does, then I suspect either you hand-edited the resx and didn't re-run the C# code generation step (it's run when you use the editor in your right-hand screenshot, but not if you edit the file directly), or the relationship between the Resx and the tool got messed up in your csproj.

    – canton7
    yesterday











  • Wait, Languages.Resource isn't the default name for the generated C# class, it's normally Resources. Can you "Go To Definition" on Languages.Resource and just double-check what's there?

    – canton7
    yesterday











  • @canton7 It's just the reference and it works for other strings :)

    – Michał Turczyn
    yesterday











  • I just wanted to check that it has the structure of a file created by PublicResXFileCodeGenerator, and not some other tool, since it has the wrong name. If you want an answer, it's generally a good idea to respond positively to questions from the people trying to help you :)

    – canton7
    yesterday














0












0








0








I have resource file in my project, which contains translations. In my Resource folder I have Resource.en.resx and (default) Resource.resx.



Everything is working fine, except one thing:



It shows error only on one of my properties, which is defined in resources in exactly same way as the other:



enter image description here



Anyone had encountered that? And how to fix it? It looks like VS bug.










share|improve this question














I have resource file in my project, which contains translations. In my Resource folder I have Resource.en.resx and (default) Resource.resx.



Everything is working fine, except one thing:



It shows error only on one of my properties, which is defined in resources in exactly same way as the other:



enter image description here



Anyone had encountered that? And how to fix it? It looks like VS bug.







c# visual-studio






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Michał TurczynMichał Turczyn

15.5k132241




15.5k132241












  • Right-click your Resources.resx and Run Custom Tool. Does that help? If it does, then I suspect either you hand-edited the resx and didn't re-run the C# code generation step (it's run when you use the editor in your right-hand screenshot, but not if you edit the file directly), or the relationship between the Resx and the tool got messed up in your csproj.

    – canton7
    yesterday











  • Wait, Languages.Resource isn't the default name for the generated C# class, it's normally Resources. Can you "Go To Definition" on Languages.Resource and just double-check what's there?

    – canton7
    yesterday











  • @canton7 It's just the reference and it works for other strings :)

    – Michał Turczyn
    yesterday











  • I just wanted to check that it has the structure of a file created by PublicResXFileCodeGenerator, and not some other tool, since it has the wrong name. If you want an answer, it's generally a good idea to respond positively to questions from the people trying to help you :)

    – canton7
    yesterday


















  • Right-click your Resources.resx and Run Custom Tool. Does that help? If it does, then I suspect either you hand-edited the resx and didn't re-run the C# code generation step (it's run when you use the editor in your right-hand screenshot, but not if you edit the file directly), or the relationship between the Resx and the tool got messed up in your csproj.

    – canton7
    yesterday











  • Wait, Languages.Resource isn't the default name for the generated C# class, it's normally Resources. Can you "Go To Definition" on Languages.Resource and just double-check what's there?

    – canton7
    yesterday











  • @canton7 It's just the reference and it works for other strings :)

    – Michał Turczyn
    yesterday











  • I just wanted to check that it has the structure of a file created by PublicResXFileCodeGenerator, and not some other tool, since it has the wrong name. If you want an answer, it's generally a good idea to respond positively to questions from the people trying to help you :)

    – canton7
    yesterday

















Right-click your Resources.resx and Run Custom Tool. Does that help? If it does, then I suspect either you hand-edited the resx and didn't re-run the C# code generation step (it's run when you use the editor in your right-hand screenshot, but not if you edit the file directly), or the relationship between the Resx and the tool got messed up in your csproj.

– canton7
yesterday





Right-click your Resources.resx and Run Custom Tool. Does that help? If it does, then I suspect either you hand-edited the resx and didn't re-run the C# code generation step (it's run when you use the editor in your right-hand screenshot, but not if you edit the file directly), or the relationship between the Resx and the tool got messed up in your csproj.

– canton7
yesterday













Wait, Languages.Resource isn't the default name for the generated C# class, it's normally Resources. Can you "Go To Definition" on Languages.Resource and just double-check what's there?

– canton7
yesterday





Wait, Languages.Resource isn't the default name for the generated C# class, it's normally Resources. Can you "Go To Definition" on Languages.Resource and just double-check what's there?

– canton7
yesterday













@canton7 It's just the reference and it works for other strings :)

– Michał Turczyn
yesterday





@canton7 It's just the reference and it works for other strings :)

– Michał Turczyn
yesterday













I just wanted to check that it has the structure of a file created by PublicResXFileCodeGenerator, and not some other tool, since it has the wrong name. If you want an answer, it's generally a good idea to respond positively to questions from the people trying to help you :)

– canton7
yesterday






I just wanted to check that it has the structure of a file created by PublicResXFileCodeGenerator, and not some other tool, since it has the wrong name. If you want an answer, it's generally a good idea to respond positively to questions from the people trying to help you :)

– canton7
yesterday













1 Answer
1






active

oldest

votes


















0














In other projects which are referncing project with those resources it's necessary to remove refernce and re-add it.



The problem is rare and occures irregularly.






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55280580%2fstrange-problem-with-resources-not-seeing-fields%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    In other projects which are referncing project with those resources it's necessary to remove refernce and re-add it.



    The problem is rare and occures irregularly.






    share|improve this answer





























      0














      In other projects which are referncing project with those resources it's necessary to remove refernce and re-add it.



      The problem is rare and occures irregularly.






      share|improve this answer



























        0












        0








        0







        In other projects which are referncing project with those resources it's necessary to remove refernce and re-add it.



        The problem is rare and occures irregularly.






        share|improve this answer















        In other projects which are referncing project with those resources it's necessary to remove refernce and re-add it.



        The problem is rare and occures irregularly.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 21 hours ago

























        answered yesterday









        Michał TurczynMichał Turczyn

        15.5k132241




        15.5k132241





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55280580%2fstrange-problem-with-resources-not-seeing-fields%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript