Aspect Class Library?

aaron.ctr.ford's Avatar

aaron.ctr.ford

16 Jan, 2018 12:02 PM

I have a test project setup
TestApp
   TestAppBPL (class library)
   TestAppDAL (class library)
   TestAppEO (class library)
   TestAppUtils (class library)

I'd like to be able to also have a TestAppAspects class library where all the aspects are located. But the aspect are not being seen. Am I doing something wrong?

Thanks

Aaron

  1. Support Staff 1 Posted by PostSharp Techn... on 18 Jan, 2018 10:57 AM

    PostSharp Technologies's Avatar

    Hello,

    I'm not sure if I understand it correctly.

    You have a TestAppAspects project in your solution. This project contains your aspects. All other projects reference the TestAppAspects project and you have installed PostSharp NuGet package to all projects in your solution (including TestAppAspects). Is that right?

    Please, what do you mean by aspect are not being seen? Is there any build error?

    Best regards,
    -jakub

  2. 2 Posted by aaron.ctr.ford on 18 Jan, 2018 11:42 AM

    aaron.ctr.ford's Avatar

    I have a TestApp solution. Within the solution I have
    TestApp (project)
         TestAppBPL (class library) current
         TestAppDAL (class library) current
         TestAppEO (class library) current
         TestAppUtils (class library) current
         TestAppAspects (class library) I would like to have a class library where my Aspects are housed...

    Just wondering if this is possible or am I doing something wrong.

    Thanks

  3. Support Staff 3 Posted by PostSharp Techn... on 22 Jan, 2018 04:26 PM

    PostSharp Technologies's Avatar

    Hello,

    So far your solution looks ok. It is certainly possible to have all your aspects in one class library and reuse them in other projects. Please could you send us a sample solution that demonstrates the issue?

    -alex

  4. Support Staff 4 Posted by PostSharp Techn... on 07 Feb, 2018 02:29 PM

    PostSharp Technologies's Avatar

    Hello,

    We are going to close this request as there have not been any further updates. Please feel free to reopen the discussion if you need more help.

    Thanks,
    PostSharp Team

  5. PostSharp Technologies closed this discussion on 07 Feb, 2018 02:29 PM.

  6. aaron.ctr.ford re-opened this discussion on 07 Feb, 2018 07:06 PM

  7. 5 Posted by aaron.ctr.ford on 07 Feb, 2018 07:06 PM

    aaron.ctr.ford's Avatar

    Yes, close it. I believe I solved my problem.

    Thanks

    Aaron Ford, CCNP, CCDA, MCSE, MCDBA, CWNA, A+
    Communication, Flight Service & Weather
    Engineering Group (CFWG)
    Technical Support Team (TST)
    [email blocked]
    (609) 485-6153

  8. PostSharp Technologies closed this discussion on 08 Feb, 2018 06:09 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac