Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

CSC file not used by Visual Studio

Discussion in 'Experimental Scripting Previews' started by TJHeuvel-net, Jan 4, 2019.

  1. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    838
    https://i.imgur.com/rqSNXnZ.png

    We're supressing the warning CS0649, its about values not being assigned because the C# compiler doesnt know about the serialization system.

    This works well in Unity, but Visual Studio still shows the warnings. I've also tried this script to disable them, and verified that the projects are changed, but the warnings still show up in the Visual Studio log.

    Sometimes it's nice to see a list of warnings in your IDE, is there any way to convince Visual Studio not to show those warnings?
     
    Last edited: Jan 4, 2019
    JesOb likes this.
  2. pointcache

    pointcache

    Joined:
    Sep 22, 2012
    Posts:
    577
    Id like to know that too, ive encountered issues where vs would ignore all pragma warning disable directives
     
    JesOb likes this.
  3. lukaszunity

    lukaszunity

    Administrator

    Joined:
    Jun 11, 2014
    Posts:
    461
    Please report a bug on this issue and we will look into it.
     
    TJHeuvel-net likes this.