Silverlight Assembly Sharing 5.1.1764.13 Still Not Working

I upgraded to the EAP in Visual Studio 2010 and it still hasn't fixed the problem with assembly sharing.

Steps to reproduce:

1. Create a Silverlight 4 Class Library.
2. Add the following code to Class1:

    public class Class1
    {
        public static IQueryable GetQuery()
        {
            return null;
        }
    }



3. Add a new .NET 4.0 Console Application.

4. Add a reference from the Console Application to the Silverlight 4 Class Library.

5. In the Program.cs of the Console Application add the following code:

    class Program
    {
        static void Main(string[] args)
        {
            SilverlightClassLibrary1.Class1.GetQuery();
        }
    }



Note that ReSharper highlights the line as an error stating:

"Module 'System.Core, Version 2.0.5.0, ............................' should be referenced"

Code compiles and runs fine all the same...

Please advise. Thank you.
10 comments

It would be nice to get some kind of response to this issue from ReSharper support.

0

Hello Jeff,

This problem is fixed in ReSharper 6.0 EAP. What's the exact version of ReSharper
that you have installed? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I upgraded to the EAP in Visual Studio 2010 and it still hasn't fixed
the problem with assembly sharing.

Steps to reproduce:

1. Create a Silverlight 4 Class Library.
2. Add the following code to Class1:
public class Class1
{
public static IQueryable GetQuery()
{
return null;
}
}
3. Add a new .NET 4.0 Console Application.

4. Add a reference from the Console Application to the Silverlight 4
Class Library.

5. In the Program.cs of the Console Application add the following
code:

class Program
{
static void Main(string[] args)
{
SilverlightClassLibrary1.Class1.GetQuery();
}
}
Note that ReSharper highlights the line as an error stating:

"Module 'System.Core, Version 2.0.5.0, ............................'
should be referenced"

Code compiles and runs fine all the same...

Please advise. Thank you.

---
Original message URL:
http://devnet.jetbrains.net/message/5282120#5282120



0

Hello Jeff,

Sorry, didn't see the build number in subject at first. Please install the
latest build from http://confluence.jetbrains.net/display/ReSharper/ReSharper6.0Nightly+Builds.
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I upgraded to the EAP in Visual Studio 2010 and it still hasn't fixed
the problem with assembly sharing.

Steps to reproduce:

1. Create a Silverlight 4 Class Library.
2. Add the following code to Class1:
public class Class1
{
public static IQueryable GetQuery()
{
return null;
}
}
3. Add a new .NET 4.0 Console Application.

4. Add a reference from the Console Application to the Silverlight 4
Class Library.

5. In the Program.cs of the Console Application add the following
code:

class Program
{
static void Main(string[] args)
{
SilverlightClassLibrary1.Class1.GetQuery();
}
}
Note that ReSharper highlights the line as an error stating:

"Module 'System.Core, Version 2.0.5.0, ............................'
should be referenced"

Code compiles and runs fine all the same...

Please advise. Thank you.

---
Original message URL:
http://devnet.jetbrains.net/message/5282120#5282120



0

No change after upgrading to the latest build of ReSharper 6:


JetBrains ReSharper 6.0 EAP Full Edition Pre-Release
Build 6.0.2072.53 on 2010-12-30T13:13:46

Did you test the steps to reproduce that I posted?

0

Hello Jeff,

Please try build #2074 instead (it's available now at http://confluence.jetbrains.net/display/ReSharper/ReSharper6.0Nightly+Builds).
Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

No change after upgrading to the latest build of ReSharper 6:

JetBrains ReSharper 6.0 EAP Full Edition Pre-Release Build 6.0.2072.53
on 2010-12-30T13:13:46

---
Original message URL:
http://devnet.jetbrains.net/message/5283096#5283096



0

Great, that works. Thanks!

This doesn't:


namespace SilverlightClassLibrary1
{
    public class Class1
    {
        public static IQueryable GetQuery()
        {
            return null;
        }
    }

    public interface IMyInterface
    {
        IQueryable GetQuery();
    }
}



namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            SilverlightClassLibrary1.Class1.GetQuery();
        }
    }

    class Test : SilverlightClassLibrary1.IMyInterface
    {
        public IQueryable GetQuery() // ERROR: Method cannot implement method from interface....return type should be ....
        {
            throw new NotImplementedException();
        }
    }
}

0

Your latest build has also slowed Visual Studio to a crawl on my computer.

0

It's been a month. Do you guys actually plan on fixing this? We're talking about pretty basic functionality here that makes ReSharper useless without it (because my code files are riddled with false errors).

0

Hello Jeff,

I'm sorry for delayed response. I've created a bug-report with the highest
priority at http://youtrack.jetbrains.net/issue/RSRP-220548 and we will do
our best to fix it as soon as possible. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

It's been a month. Do you guys actually plan on fixing this? We're
talking about pretty basic functionality here that makes ReSharper
useless without it (because my code files are riddled with false
errors).

---
Original message URL:
http://devnet.jetbrains.net/message/5290572#5290572



0

7 weeks later....still broken...any update?

0

Please sign in to leave a comment.