简体   繁体   English

Visual Studio 2017 编译大小为 0 字节的 .core dll

[英]Visual Studio 2017 compiles .core dll with a size of 0 bytes

Perhaps a weird issue, and I'm not entirely sure it is code related.也许是一个奇怪的问题,我不完全确定它与代码有关。 But I'm writing a project, and if certain files are included, it compiles the .core dll...but it has a size of 0. Removed the files, it will compile correctly...sometimes.但是我正在编写一个项目,如果包含某些文件,它会编译 .core dll...但它的大小为 0。删除文件,它会正确编译...有时。 It is the weirdest thing.这是最奇怪的事情。

So my question is this: has anyone else seen this issue?所以我的问题是:有没有其他人看到过这个问题? Does .core have issues with things that require interop type services? .core 是否存在需要互操作类型服务的问题? I wish I could pinpoint code that causes it, but it seems pretty random.我希望我能查明导致它的代码,但这似乎很随机。

Major ID10T error on this one.这一个的主要 ID10T 错误。 Apparently, my AV didn't like the dll so it deleted it without notifying me.显然,我的 AV 不喜欢这个 dll,所以它在没有通知我的情况下删除了它。 Here is to having dumb moments v_v.这是有愚蠢的时刻 v_v。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM